summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/group/group.c
diff options
context:
space:
mode:
Diffstat (limited to 'beryl-plugins/src/group/group.c')
-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)) {