]> Dogcows Code - chaz/openbox/blobdiff - src/client.cc
out with the blackbox source
[chaz/openbox] / src / client.cc
index 91d61f4bd20392904744e19f06e675ebfde4b4c9..80cc1a2ca7e0bcc774fa43043dd337e7b61d53f4 100644 (file)
@@ -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;
This page took 0.020873 seconds and 4 git commands to generate.