From 5722e9e98d880f71729ecabb23ce330643529706 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 25 Mar 2003 02:18:19 +0000 Subject: [PATCH] dont accept MapRequest's for !iconic windows --- openbox/event.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.45.2