From 7d4747155a74a500b5ce14b42bac37a939e07307 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 11 Jan 2008 11:57:30 +0100 Subject: [PATCH] grab root buttons click on first run --- awesome.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awesome.c b/awesome.c index ab7b90c9..2547a164 100644 --- a/awesome.c +++ b/awesome.c @@ -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) {