summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-09-11 18:54:32 +0200
committerDanny Baumann <dannybaumann@web.de>2007-09-11 18:54:32 +0200
commitdb98a00e3c26ac74dd4c6d4293870deb71512404 (patch)
tree2c9fbbcc347948a6059ca65b9cfc773199e390c2
parent28784c90b95dc74dc89f2ed73d193279520bb04d (diff)
downloadgroup-db98a00e3c26ac74dd4c6d4293870deb71512404.tar.gz
group-db98a00e3c26ac74dd4c6d4293870deb71512404.tar.bz2
Another (simpler) attempt at fixing tabbed window movement.
-rw-r--r--group.c11
-rw-r--r--tab.c1
2 files changed, 2 insertions, 10 deletions
diff --git a/group.c b/group.c
index 9092756..617479d 100644
--- a/group.c
+++ b/group.c
@@ -1829,16 +1829,7 @@ groupWindowMoveNotify (CompWindow *w,
GROUP_WINDOW (cw);
- gw->destination.x += dx;
- gw->destination.y += dy;
-
- if (gw->group->tabBar)
- {
- groupEnqueueMoveNotify (cw, dx, dy, immediate,
- !(gw->group->grabMask &
- CompWindowGrabMoveMask));
- }
- else if (cw->state & MAXIMIZE_STATE)
+ if (cw->state & MAXIMIZE_STATE)
{
if (viewportChange)
groupEnqueueMoveNotify (cw, -dx, -dy, immediate, TRUE);
diff --git a/tab.c b/tab.c
index 804c6d8..1b12e80 100644
--- a/tab.c
+++ b/tab.c
@@ -1627,6 +1627,7 @@ groupChangeTab (GroupTabBarSlot *topTab,
if (topTab != group->nextTopTab)
{
groupSetWindowVisibility (w, TRUE);
+ syncWindowPosition (w);
if (HAS_PREV_TOP_WIN (group))
{