diff options
| -rw-r--r-- | openbox/actions/omnipresent.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbox/actions/omnipresent.c b/openbox/actions/omnipresent.c index 4f60b540..b6ba1622 100644 --- a/openbox/actions/omnipresent.c +++ b/openbox/actions/omnipresent.c @@ -13,9 +13,12 @@ void action_omnipresent_startup() /* Always return FALSE because its not interactive */ static gboolean run_func_toggle(ObActionsData *data, gpointer options) { - if (data->client) + if (data->client) { + actions_client_move(data, TRUE); client_set_desktop(data->client, data->client->desktop == DESKTOP_ALL ? screen_desktop : DESKTOP_ALL, FALSE, TRUE); + actions_client_move(data, FALSE); + } return FALSE; } |
