Download raw body.
PATCH: xenocara/app/cwm: handle release of Meta (not Alt)
Sven M. Hallberg on Tue, Mar 04 2025:
> Sven M. Hallberg on Sat, Jul 01 2023:
>> the attached patch solves an issue that I've had with cwm, namely that
>> my Meta modifier would get stuck until I pressed some *other*
>> modifier.
Ping.
I don't see how this patch can hurt. It seems like a simple oversight.
Index: app/cwm/xevents.c
===================================================================
RCS file: /cvs/xenocara/app/cwm/xevents.c,v
retrieving revision 1.150
diff -u -p -r1.150 xevents.c
--- app/cwm/xevents.c 24 Mar 2020 14:47:29 -0000 1.150
+++ app/cwm/xevents.c 17 Dec 2025 12:06:39 -0000
@@ -68,8 +68,9 @@ void (*xev_handlers[LASTEvent])(XEvent
[Expose] = xev_handle_expose,
};
-static KeySym modkeys[] = { XK_Alt_L, XK_Alt_R, XK_Super_L, XK_Super_R,
- XK_Control_L, XK_Control_R, XK_ISO_Level3_Shift };
+static KeySym modkeys[] = { XK_Alt_L, XK_Alt_R, XK_Meta_L, XK_Meta_R,
+ XK_Super_L, XK_Super_R, XK_Control_L, XK_Control_R,
+ XK_ISO_Level3_Shift };
static void
xev_handle_maprequest(XEvent *ee)
PATCH: xenocara/app/cwm: handle release of Meta (not Alt)