summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-09-11 16:44:06 +0200
committerDanny Baumann <dannybaumann@web.de>2007-09-11 16:44:06 +0200
commitec06e5a5efe04c1beecf30fa22d2ebf7cdd8d2be (patch)
treeb9c2cadd0aefa2dc618e777e1d39dde4108f7333
parent5057292068f524640e24fee7b2f19fdfc37a97e0 (diff)
downloadgroup-ec06e5a5efe04c1beecf30fa22d2ebf7cdd8d2be.tar.gz
group-ec06e5a5efe04c1beecf30fa22d2ebf7cdd8d2be.tar.bz2
Fix dragging tabbed windows to another viewport.
-rw-r--r--group.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/group.c b/group.c
index bfe3c31..4ff27a0 100644
--- a/group.c
+++ b/group.c
@@ -1839,9 +1839,16 @@ groupWindowMoveNotify (CompWindow *w,
}
else if (!viewportChange || gw->group->tabBar)
{
+ Bool needImmediateSync = FALSE;
+
+ if (gw->group->tabBar &&
+ !(gw->group->grabMask & CompWindowGrabMoveMask))
+ {
+ needImmediateSync = TRUE;
+ }
+
gw->needsPosSync = TRUE;
- groupEnqueueMoveNotify (cw, dx, dy, immediate,
- (gw->group->tabBar != NULL));
+ groupEnqueueMoveNotify (cw, dx, dy, immediate, needImmediateSync);
}
}
}