don't move focus if the window appears or disappears
This commit is contained in:
parent
bea270cac5
commit
07df190949
1 changed files with 4 additions and 1 deletions
|
@ -13,9 +13,12 @@ void action_omnipresent_startup()
|
||||||
/* Always return FALSE because its not interactive */
|
/* Always return FALSE because its not interactive */
|
||||||
static gboolean run_func_toggle(ObActionsData *data, gpointer options)
|
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,
|
client_set_desktop(data->client,
|
||||||
data->client->desktop == DESKTOP_ALL ?
|
data->client->desktop == DESKTOP_ALL ?
|
||||||
screen_desktop : DESKTOP_ALL, FALSE, TRUE);
|
screen_desktop : DESKTOP_ALL, FALSE, TRUE);
|
||||||
|
actions_client_move(data, FALSE);
|
||||||
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue