← Back to team overview

compiz team mailing list archive

[Bug 754948] Re: Desktop Wall & Viewport Switcher: Bindings for "Next" and "Prev" workspaces dont work. Bindings that use screen edges don't work.

 

I've succeded in patching Natty compiz 0.9.4 in order to have edge+mouse button binding work again.
However, something I couldn't fix yet : if top left+left click is Expose, clicking again doesn't exit Expose. Same for Scale. I can live with it however and will thus keep Natty.
Here is the 1 line patch in context diff (don't ask me why it works) :
diff -cr compiz-0.9.4+bzr20110415/src/event.cpp compiz-0.9.4+bzr20110415.fguille/src/event.cpp
*** compiz-0.9.4+bzr20110415/src/event.cpp	2011-04-15 11:01:04.000000000 +0200
--- compiz-0.9.4+bzr20110415.fguille/src/event.cpp	2011-05-21 10:51:47.839203285 +0200
***************
*** 155,163 ****
  
  	if (event->window != priv->edgeWindow)
  	{
! 	    if (grabs.empty () || event->window != root)
! 		return false;
! 	}
  
  	for (i = 0; i < SCREEN_EDGE_NUM; i++)
  	{
--- 155,163 ----
  
  	if (event->window != priv->edgeWindow)
  	{
! 		    if (!priv->grabs.empty () || event->window != root)
! 			return false;
! 		}
  
  	for (i = 0; i < SCREEN_EDGE_NUM; i++)
  	{

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/754948

Title:
  Desktop Wall & Viewport Switcher: Bindings for "Next" and "Prev"
  workspaces dont work. Bindings that use screen edges don't work.


Follow ups

References