init: call only once window_root_grabbuttons() on start
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
c80ff672ca
commit
6648a1edea
|
@ -413,10 +413,11 @@ main(int argc, char **argv)
|
|||
XCB_CW_EVENT_MASK | XCB_CW_CURSOR,
|
||||
change_win_vals);
|
||||
ewmh_set_supported_hints(screen_nbr);
|
||||
/* call this to at least grab root window clicks */
|
||||
window_root_grabbuttons();
|
||||
}
|
||||
|
||||
/* call this to at least grab root window clicks */
|
||||
window_root_grabbuttons();
|
||||
|
||||
/* scan existing windows */
|
||||
scan();
|
||||
|
||||
|
|
Loading…
Reference in New Issue