]> Dogcows Code - chaz/openbox/commitdiff
dont accept MapRequest's for !iconic windows
authorDana Jansens <danakj@orodu.net>
Tue, 25 Mar 2003 02:18:19 +0000 (02:18 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 25 Mar 2003 02:18:19 +0000 (02:18 +0000)
openbox/event.c

index 3448194ef022813e49b95a8273c4060a96db5f0b..91ba190b8824b124a6e0c5f8b60256377fd96b4b 100644 (file)
@@ -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);
This page took 0.02414 seconds and 4 git commands to generate.