]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
use g_hash_table properly
[chaz/openbox] / openbox / event.c
index 4be03d9445d71668f4040175a5a39212a309b0dc..3448194ef022813e49b95a8273c4060a96db5f0b 100644 (file)
@@ -253,7 +253,7 @@ void event_process(XEvent *e)
        break;
     }
 
-    client = g_hash_table_lookup(client_map, (gpointer)window);
+    client = g_hash_table_lookup(client_map, &window);
 
     /* deal with it in the kernel */
     if (client)
This page took 0.023717 seconds and 4 git commands to generate.