Implement scrolling on stack windows and on the bar. This implements ticket #18

This commit is contained in:
Michael Stapelberg
2009-04-01 12:31:13 +02:00
parent 75a35319c9
commit 755540817e
3 changed files with 54 additions and 32 deletions

View File

@ -24,8 +24,7 @@
#include "i3.h"
#include "xinerama.h"
static bool focus_window_in_container(xcb_connection_t *conn, Container *container,
direction_t direction) {
bool focus_window_in_container(xcb_connection_t *conn, Container *container, direction_t direction) {
/* If this container is empty, were done */
if (container->currently_focused == NULL)
return false;