dont accept MapRequest's for !iconic windows
This commit is contained in:
parent
bdf1662af2
commit
5722e9e98d
1 changed files with 2 additions and 0 deletions
|
@ -438,6 +438,8 @@ static void event_handle_client(Client *client, XEvent *e)
|
|||
client_unmanage(client);
|
||||
break;
|
||||
case MapRequest:
|
||||
if (!client->iconic) break; /* this normal doesn't happen, but if it
|
||||
does, we don't want it! */
|
||||
if (screen_showing_desktop)
|
||||
screen_show_desktop(FALSE);
|
||||
client_iconify(client, FALSE, TRUE);
|
||||
|
|
Loading…
Reference in a new issue