Fix compilation warning

This commit is contained in:
Michael Stapelberg 2009-11-02 23:14:21 +01:00
parent de3ca5c600
commit 0d327b7d17
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ static bool button_press_stackwin(xcb_connection_t *conn, xcb_button_press_event
/* If we dont 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));