mfwm

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

commit 144c153844d7d32e00928a6743fb1a8da34a11ff
parent 2d1e5c2654c222a2843c820d637077d2216beec2
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sat, 19 Oct 2019 23:29:21 +0300

sowm: check mod first.

Diffstat:
Msowm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sowm.c b/sowm.c @@ -110,7 +110,7 @@ void key_press(XEvent *e) { KeySym keysym = XKeycodeToKeysym(d, e->xkey.keycode, 0); for (unsigned int i=0; i < sizeof(keys)/sizeof(*keys); ++i) - if (keys[i].keysym == keysym && keys[i].mod == e->xkey.state) + if (keys[i].mod == e->xkey.state && keys[i].keysym == keysym) keys[i].function(keys[i].arg); }