dont let windows get initially mapped when they arent on the current workspace
This commit is contained in:
parent
91b0784330
commit
ef66d63b42
1 changed files with 7 additions and 0 deletions
|
@ -2611,6 +2611,13 @@ void BlackboxWindow::mapRequestEvent(const XMapRequestEvent *re) {
|
||||||
client.window);
|
client.window);
|
||||||
#endif // DEBUG
|
#endif // DEBUG
|
||||||
|
|
||||||
|
/*
|
||||||
|
Even thought the window wants to be shown, if it is not on the current
|
||||||
|
workspace, then it isn't going to be shown right now.
|
||||||
|
*/
|
||||||
|
if (blackbox_attrib.workspace != screen->getCurrentWorkspaceID())
|
||||||
|
current_state = WithdrawnState;
|
||||||
|
|
||||||
switch (current_state) {
|
switch (current_state) {
|
||||||
case IconicState:
|
case IconicState:
|
||||||
iconify();
|
iconify();
|
||||||
|
|
Loading…
Reference in a new issue