commit 023d940b4a2d554b24c338bbc82986de47b0b1bf
Author: Arnaud Fontaine <arnau@debian.org>
Date:   Sun Apr 20 17:54:49 2008 +0100

    [client] Fix regression (closed windows still mapped on the screen)

diff --git a/event.c b/event.c
index 8213450..354bffe 100644
--- a/event.c
+++ b/event.c
@@ -545,7 +545,7 @@ event_handle_unmapnotify(void *data __attribute__ ((unused)),
      * 0x80)  in XCB  because the  SendEvent bit  is available  in the
      * response_type field
      */
-    bool send_event = ((ev->response_type & 0x7f) >> 7);
+    bool send_event = ((ev->response_type & 0x80) >> 7);
 
     if((c = client_get_bywin(globalconf.clients, ev->window))
        && ev->event == xcb_aux_get_screen(connection, c->phys_screen)->root

