grab buttons on all root windows
This commit is contained in:
parent
0bbbc7c9d5
commit
5c02326a1e
|
@ -298,6 +298,8 @@ main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
loadawesomeprops(screen);
|
loadawesomeprops(screen);
|
||||||
ewmh_set_supported_hints(screen);
|
ewmh_set_supported_hints(screen);
|
||||||
|
/* call this to at least grab root window clicks */
|
||||||
|
window_grabbuttons(screen, None, False, True);
|
||||||
}
|
}
|
||||||
|
|
||||||
handler = p_new(event_handler *, LASTEvent);
|
handler = p_new(event_handler *, LASTEvent);
|
||||||
|
@ -355,9 +357,6 @@ main(int argc, char *argv[])
|
||||||
signal(SIGTERM, &exit_on_signal);
|
signal(SIGTERM, &exit_on_signal);
|
||||||
signal(SIGHUP, &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 */
|
/* main event loop, also reads status text from socket */
|
||||||
while(running)
|
while(running)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue