dont die if a non-visible window is raised/lowered
This commit is contained in:
parent
bb087efb79
commit
63bbbaefc7
1 changed files with 4 additions and 2 deletions
|
@ -73,7 +73,8 @@ void stacking_raise(Client *client)
|
||||||
|
|
||||||
stacking_list = g_list_insert_before(stacking_list, it, client);
|
stacking_list = g_list_insert_before(stacking_list, it, client);
|
||||||
|
|
||||||
XRestackWindows(ob_display, wins, 2);
|
if (client->frame.visible)
|
||||||
|
XRestackWindows(ob_display, wins, 2);
|
||||||
|
|
||||||
stacking_set_list();
|
stacking_set_list();
|
||||||
}
|
}
|
||||||
|
@ -116,7 +117,8 @@ void stacking_lower(Client *client)
|
||||||
it->next, client);
|
it->next, client);
|
||||||
}
|
}
|
||||||
|
|
||||||
XRestackWindows(ob_display, wins, 2);
|
if (client->frame.visible)
|
||||||
|
XRestackWindows(ob_display, wins, 2);
|
||||||
stacking_set_list();
|
stacking_set_list();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue