X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fclient.cc;h=80cc1a2ca7e0bcc774fa43043dd337e7b61d53f4;hb=406c79aea1b6f9c8bd1bbeb253ebc7cb97fc7e25;hp=91d61f4bd20392904744e19f06e675ebfde4b4c9;hpb=f4b87e04a2a1d285f7b6f93b3db08f040ba5c32c;p=chaz%2Fopenbox diff --git a/src/client.cc b/src/client.cc index 91d61f4b..80cc1a2c 100644 --- a/src/client.cc +++ b/src/client.cc @@ -1266,7 +1266,7 @@ bool Client::focus() } while (XCheckTypedWindowEvent(**otk::display, _window, UnmapNotify, &ev)) { if (ignore_unmaps) { - --ignore_unmaps; + unmapHandler(ev.xunmap); } else { XPutBackEvent(**otk::display, &ev); return false; @@ -1406,7 +1406,7 @@ void Client::unmapHandler(const XUnmapEvent &e) { if (ignore_unmaps) { #ifdef DEBUG -// printf("Ignored UnmapNotify for 0x%lx (event 0x%lx)\n", e.window, e.event); + printf("Ignored UnmapNotify for 0x%lx (event 0x%lx)\n", e.window, e.event); #endif // DEBUG ignore_unmaps--; return;