From: Michael Stapelberg Date: Mon, 2 Nov 2009 22:14:21 +0000 (+0100) Subject: Fix compilation warning X-Git-Tag: 3.d~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0d327b7d17894ee4542492ec9ec03afbebe50342;p=i3%2Fi3 Fix compilation warning --- diff --git a/src/click.c b/src/click.c index 28737f3b..43452816 100644 --- a/src/click.c +++ b/src/click.c @@ -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));