summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/group
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-13 09:13:32 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-13 09:13:32 +0000
commitf20793d29b5c23c5f51820845969b9fda2ea5a64 (patch)
tree723b8e5808c1c3292c1a4a52648970ecf36924cf /beryl-plugins/src/group
parenta47df6754a3cb37ab8151d839821697f50861d28 (diff)
downloadmarex-dev-f20793d29b5c23c5f51820845969b9fda2ea5a64.tar.gz
marex-dev-f20793d29b5c23c5f51820845969b9fda2ea5a64.tar.bz2
group plugin: fixed grouped window move for viewport switching in wall plugin
git-svn-id: file:///beryl/trunk@4018 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/group')
-rw-r--r--beryl-plugins/src/group/group.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/beryl-plugins/src/group/group.c b/beryl-plugins/src/group/group.c
index 4242c07..e45779d 100644
--- a/beryl-plugins/src/group/group.c
+++ b/beryl-plugins/src/group/group.c
@@ -1279,8 +1279,10 @@ groupWindowMoveNotify(CompWindow * w, int dx, int dy, Bool immediate)
if (w->state & CompWindowStateOffscreenMask)
return;
-
- Bool viewportChange = screenGrabExist (w->screen, "rotate", 0) &&
+
+ /* FIXME: we need a reliable, 100% safe way to detect window
+ moves caused by viewport changes here */
+ Bool viewportChange = /* screenGrabExist (w->screen, "rotate", 0) && */
((dx && !(dx % w->screen->width)) || (dy && !(dy % w->screen->height)));
if (viewportChange && (gw->animateState & IS_ANIMATED)) {