[compiz] [PATCH] Edge buttons

David Reveman davidr at novell.com
Wed Dec 6 05:47:53 PST 2006


On Thu, 2006-11-09 at 20:18 +0000, Mike Dransfield wrote:
> David Reveman wrote:
> > The "button press on edge" functionality should be working OK in the
> > latest code. Let me know if you have any problems with it.
> >
> >   
> I was testing it with the following options
> 
> 1. Scale = TopRight + button 3
> 2. Rotate cube = Left / Right edges + button 5 = right, button 4 = left
> 3. Switcher = Top + wheel for prev and next.
> 
> Here are the current results.
> 
> 1. Doesnt work unless I patch the option to add the
> CompActionStateInitButton flag to the state mask.
> 2. Seems to work perfectly (except for loss of options mentioned below)
> 3. This is the problem, my original patches included a patch to not remove
> the CompActionStateTermButton if the mouse was on a screen edge.  This
> means that you can only switch one window at a time which limits you to
> only 2 windows.  I also needed to add CompActionStateTermEdge
> so that it terminates when you mouse off the edge.
> 
> There is also the problem with gconf not setting the edgebutton and
> sometimes not the edge as well.  I change the option but a reload always
> reverts it back to default.

Thanks for the use cases. They should now be working properly. I've also
fixed the gconf plugin so your settings should not be reverted anymore.

Sorry that it took a while to get this done. If you have more use cases
that make sense and currently don't work, please let me know.

-David



More information about the compiz mailing list