From: Dana Jansens Date: Tue, 25 Mar 2003 02:18:19 +0000 (+0000) Subject: dont accept MapRequest's for !iconic windows X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5722e9e98d880f71729ecabb23ce330643529706;p=chaz%2Fopenbox dont accept MapRequest's for !iconic windows --- diff --git a/openbox/event.c b/openbox/event.c index 3448194e..91ba190b 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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);