Fix keyboard layouts
commit03759b48478eb716af8b62e01ef3b5140c582f58
authorUli Schlachter <psychon@znc.in>
Fri, 1 Feb 2013 22:06:08 +0000 (1 23:06 +0100)
committerUli Schlachter <psychon@znc.in>
Fri, 1 Feb 2013 22:06:08 +0000 (1 23:06 +0100)
tree1cd8e5b2444154966782f9677a6a4a1c2243c9a2
parent5024843e95b91a664128ccc082a980a1a25f5d5d
Fix keyboard layouts

Commit 08ca70c00d06c6 added support for Xlib cursor themes by making awesome use
Xlib for its X11 connection and for setting cursor icons. Everything else was
still done through xcb.

However, an unexpected side effect of this is that Xlib enabled the XKB
extension without asking us. This changes the way that keyboard events are
reported which causes problems with various keyboard events.

(Normally, Xlib hides these things by silently fixing up the events that it
hands out to applications. However, since we bypassed Xlib via xcb...)

The fix is simple: Luckily Xlib provides a function for disabling its XKB
support which is just what we need.

Signed-off-by: Uli Schlachter <psychon@znc.in>
awesome.c