diff --git a/src/action.c b/src/action.c index 8c5c997..e9e4012 100644 --- a/src/action.c +++ b/src/action.c @@ -1,37 +1,37 @@ #include "action.h" -void action_win_add(void) { +void action_win_add() { } -void action_win_del(void) { +void action_win_del() { } -void action_win_center(void) { +void action_win_center() { } -void action_win_fullscreen(void) { +void action_win_fullscreen() { } -void action_win_focus(void) { +void action_win_focus() { } -void action_win_kill(void) { +void action_win_kill() { } -void action_win_next(void) { +void action_win_next() { } -void action_win_to_desktop(void) { +void action_win_to_desktop() { } -void action_to_desktop(void) { +void action_to_desktop() { } diff --git a/src/event.c b/src/event.c index abd5f77..fe2b90f 100644 --- a/src/event.c +++ b/src/event.c @@ -21,17 +21,17 @@ void (*events[XCB_NO_OPERATION])(xcb_generic_event_t *) = { void event_button_press(xcb_generic_event_t *ev) { xcb_button_press_event_t *e = (xcb_button_press_event_t *)ev; xcb_get_geometry_reply_t *geom; - uint32_t values[3]; + uint32_t value; if (!e->child) { return; } motion_win = e->child; - values[0] = XCB_STACK_MODE_ABOVE; + value = XCB_STACK_MODE_ABOVE; xcb_configure_window(dpy, e->child, - XCB_CONFIG_WINDOW_STACK_MODE, values); + XCB_CONFIG_WINDOW_STACK_MODE, &value); geom = xcb_get_geometry_reply(dpy, xcb_get_geometry(dpy, e->child), NULL);