summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-03-15 14:53:05 +0100
committerDanny Baumann <dannybaumann@web.de>2008-03-15 14:53:05 +0100
commit4f4252aef9670723e5338ccf89e7fb79225bf247 (patch)
tree73afd135e39c71a2806f1f5c92c4bd89af58f6e1
parent8aaccdafe8bf71f4dfb6c356fb131e10936dc6aa (diff)
downloadgroup-4f4252aef9670723e5338ccf89e7fb79225bf247.tar.gz
group-4f4252aef9670723e5338ccf89e7fb79225bf247.tar.bz2
ActivateWindow is now wrappable.
-rw-r--r--group.c2
-rw-r--r--tab.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/group.c b/group.c
index f83d252..2b1de4c 100644
--- a/group.c
+++ b/group.c
@@ -71,7 +71,7 @@ groupDragHoverTimeout (void* closure)
bar->bgAnimationTime = groupGetPulseTime (w->screen) * 1000;
}
- activateWindow (w);
+ (*w->screen->activateWindow) (w);
gs->dragHoverTimeoutHandle = 0;
return FALSE;
diff --git a/tab.c b/tab.c
index 27d0087..6e4e811 100644
--- a/tab.c
+++ b/tab.c
@@ -698,7 +698,7 @@ groupHandleAnimation (GroupSelection *group)
group->changeState = TabChangeNewIn;
- activateWindow (top);
+ (*s->activateWindow) (top);
}
if (group->changeState == TabChangeNewIn &&
@@ -1660,7 +1660,7 @@ groupChangeTab (GroupTabBarSlot *topTab,
group->prevTopTab = group->topTab;
else
group->prevTopTab = NULL;
- activateWindow (w);
+ (*w->screen->activateWindow) (w);
}
}