init: call only once window_root_grabbuttons() on start

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-15 10:18:24 +02:00
parent c80ff672ca
commit 6648a1edea
1 changed files with 3 additions and 2 deletions

View File

@ -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();