X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fdesktop.c;h=e352aa2e861d5fb042fc9368b474ddc1a8ce58e9;hb=a1746ab2158da2324aefb7ce81e7b5edc9c41e79;hp=d5535f6cc20a8a38e31a6656310f2b84ee1ff1de;hpb=7fb107cd37a09787c5cfa590688944b3bcb2bab8;p=chaz%2Fopenbox diff --git a/openbox/actions/desktop.c b/openbox/actions/desktop.c index d5535f6c..e352aa2e 100644 --- a/openbox/actions/desktop.c +++ b/openbox/actions/desktop.c @@ -118,8 +118,6 @@ static gboolean run_func(ObActionsData *data, gpointer options) Options *o = options; guint d; - - switch (o->type) { case LAST: d = screen_last_desktop; @@ -142,7 +140,12 @@ static gboolean run_func(ObActionsData *data, gpointer options) go = o->follow; } - if (go) screen_set_desktop(d, TRUE); + if (go) { + screen_set_desktop(d, TRUE); + if (data->client) + client_bring_helper_windows(data->client); + } + actions_client_move(data, FALSE); } return FALSE;