From b70af4cf2b096943001104415e52f92373585f69 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Tue, 22 Dec 2015 17:24:01 +0100 Subject: [PATCH] Fix regrabbing of keys on layout change In commit 532ec0cd, we started grabbing keys on the client window directly instead of its parent window (the frame window). This commit fixes one place which was overlooked back then. Signed-off-by: Uli Schlachter --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index 8db65b373..4de18274b 100644 --- a/event.c +++ b/event.c @@ -856,7 +856,7 @@ event_handle_mappingnotify(xcb_mapping_notify_event_t *ev) foreach(_c, globalconf.clients) { client_t *c = *_c; - xwindow_grabkeys(c->frame_window, &c->keys); + xwindow_grabkeys(c->window, &c->keys); } } }