Hi,
Vpswitch's "Go to specific viewport" commands don't currently work for me in
0.9. This patch fixes the problem for me.
Thanks,
Jay
diff --git a/src/vpswitch.cpp b/src/vpswitch.cpp
index ab4247e..fafec77 100644
--- a/src/vpswitch.cpp
+++ b/src/vpswitch.cpp
@@ -279,7 +279,7 @@ VPSwitchScreen::terminateNumbered (CompAction *action,
return false;
nx = (destination - 1 ) % vpsize.width ();
- ny = (destination - 1 ) / vpsize.height ();
+ ny = (destination - 1 ) / vpsize.width ();
gotovp (nx, ny);
@@ -297,6 +297,7 @@ VPSwitchScreen::switchto (CompAction *action,
destination = num;
+ numberedActive = true;
return terminateNumbered (action, state, options);
}
_______________________________________________
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz