]> git.sur5r.net Git - i3/i3/commitdiff
Fix compilation warning
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 2 Nov 2009 22:14:21 +0000 (23:14 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 2 Nov 2009 22:14:21 +0000 (23:14 +0100)
src/click.c

index 28737f3b7d73303861b70c86e37ff0986ff5c380..43452816061a1f31a07c3237d9789834ac934fba 100644 (file)
@@ -87,7 +87,7 @@ static bool button_press_stackwin(xcb_connection_t *conn, xcb_button_press_event
         /* If we don’t have any clients in this container, we cannot do
          * anything useful anyways. */
         if (num_clients == 0)
-                return;
+                return true;
 
         if (container->mode == MODE_TABBED)
                 destination = (event->event_x / (container->width / num_clients));