summaryrefslogtreecommitdiff
path: root/openbox/actions
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-02 11:22:17 -0500
committerDana Jansens <danakj@orodu.net>2008-02-02 11:22:17 -0500
commit746859c1017e9cdf73eb91470e795f0c4b98b21a (patch)
treeff950342cdfb0290505b68a541864aa18d25279f /openbox/actions
parentc64be9066eaae89839bb59c4d4e9539f2a7e8fc1 (diff)
if windows on screen are going to be moved, then do the ReplayPointer before that occurs, so it goes to the right window. if they are not, then just wait until after the actions are run (for kdesktop's sake really)
Diffstat (limited to 'openbox/actions')
-rw-r--r--openbox/actions/desktop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/actions/desktop.c b/openbox/actions/desktop.c
index 69275252..d939ed51 100644
--- a/openbox/actions/desktop.c
+++ b/openbox/actions/desktop.c
@@ -140,12 +140,14 @@ static gboolean run_func(ObActionsData *data, gpointer options)
if (d < screen_num_desktops && d != screen_desktop) {
gboolean go = TRUE;
+ actions_client_move(data, TRUE);
if (o->send && data->client && client_normal(data->client)) {
client_set_desktop(data->client, d, o->follow, FALSE);
go = o->follow;
}
if (go) screen_set_desktop(d, TRUE);
+ actions_client_move(data, FALSE);
}
return FALSE;
}