]> git.sur5r.net Git - i3/i3/commitdiff
Fix prototype
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 21 Jan 2012 11:49:35 +0000 (11:49 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 21 Jan 2012 11:49:35 +0000 (11:49 +0000)
src/handlers.c

index 09e9f11ed97a0a93ddbc324168f442043d17d6a8..6fd64a11c8b3d17b88a691bffd5cd2039c084a9a 100644 (file)
@@ -511,7 +511,7 @@ ignore_end:
  * important fields in the event data structure).
  *
  */
-static int handle_destroy_notify_event(xcb_destroy_notify_event_t *event) {
+static void handle_destroy_notify_event(xcb_destroy_notify_event_t *event) {
     DLOG("destroy notify for 0x%08x, 0x%08x\n", event->event, event->window);
 
     xcb_unmap_notify_event_t unmap;
@@ -519,7 +519,7 @@ static int handle_destroy_notify_event(xcb_destroy_notify_event_t *event) {
     unmap.event = event->event;
     unmap.window = event->window;
 
-    return handle_unmap_notify_event(&unmap);
+    handle_unmap_notify_event(&unmap);
 }
 
 /*