grab root buttons click on first run

This commit is contained in:
Julien Danjou 2008-01-11 11:57:30 +01:00
parent b497cd4a01
commit 7d4747155a

View file

@ -327,6 +327,9 @@ main(int argc, char *argv[])
signal(SIGTERM, &exit_on_signal);
signal(SIGHUP, &exit_on_signal);
/* call this to at least grab root window clicks */
window_grabbuttons(DefaultScreen(dpy), None, False, True);
/* main event loop, also reads status text from socket */
while(running)
{