mfwm

A tiling fork of dylanaraps sowm.
git clone git://depsterr.com/git/mfwm
Log | Files | Refs | README | LICENSE

commit 45feb5495f82ad2da403468085484c0db1c1c99f
parent 6c522968d670a1f52d6e0023401fc46c69275027
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Fri, 11 Oct 2019 14:53:16 +0300

catwm: Fix keysyms

Diffstat:
Mcatwm.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/catwm.c b/catwm.c @@ -30,6 +30,7 @@ */ #include <X11/Xlib.h> +#include <X11/XKBlib.h> #include <X11/keysym.h> #include <X11/XF86keysym.h> #include <stdio.h> @@ -289,7 +290,7 @@ void increase() { void keypress(XEvent *e) { int i; XKeyEvent ke = e->xkey; - KeySym keysym = XKeycodeToKeysym(dis,ke.keycode,0); + KeySym keysym = XkbKeycodeToKeysym(dis,ke.keycode,0,0); for(i=0;i<TABLENGTH(keys);++i) { if(keys[i].keysym == keysym && keys[i].mod == ke.state) {