diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-07-13 11:24:26 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-07-13 11:24:26 -0400 |
| commit | 07df19094906256f930b614b9d16f9ea0a7211aa (patch) | |
| tree | 80ce70a2e7785b7aa091ff9795343553fb47f1d7 /openbox | |
| parent | bea270cac543883d0d11f870e0285c5c3ba61266 (diff) | |
don't move focus if the window appears or disappears
Diffstat (limited to 'openbox')
| -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; } |
