From c5e0824435f7c613dce18897ef77708e058051a0 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 16 Sep 2007 02:14:37 +0200 Subject: [PATCH 1/2] don't grab keys if we don't know them --- event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/event.c b/event.c index 4ad0bf16..b8f42708 100644 --- a/event.c +++ b/event.c @@ -436,7 +436,8 @@ grabkeys(Display *disp, int screen, awesome_config *awesomeconf) XUngrabKey(disp, AnyKey, AnyModifier, RootWindow(disp, screen)); for(i = 0; i < awesomeconf->nkeys; i++) { - code = XKeysymToKeycode(disp, awesomeconf->keys[i].keysym); + if((code = XKeysymToKeycode(disp, awesomeconf->keys[i].keysym)) == NoSymbol) + continue; XGrabKey(disp, code, awesomeconf->keys[i].mod, RootWindow(disp, screen), True, GrabModeAsync, GrabModeAsync); XGrabKey(disp, code, awesomeconf->keys[i].mod | LockMask, RootWindow(disp, screen), True, GrabModeAsync, GrabModeAsync); XGrabKey(disp, code, awesomeconf->keys[i].mod | awesomeconf->numlockmask, RootWindow(disp, screen), True, GrabModeAsync, GrabModeAsync); From 6f900bd82c658a22ecda800269ba66c80ddc5bdb Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 16 Sep 2007 02:36:30 +0200 Subject: [PATCH 2/2] add TODO file --- TODO | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 TODO diff --git a/TODO b/TODO new file mode 100644 index 00000000..ce036c89 --- /dev/null +++ b/TODO @@ -0,0 +1,2 @@ +- Add uicb for sel->border++-- and awesomeconf->border++-- +- Move windows from one place to another with mouse in tiled layout