[compiz] [PATCH] Edge buttons

Mike Dransfield mike at blueroot.co.uk
Thu Nov 9 12:18:22 PST 2006


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.



More information about the compiz mailing list