Introduction
Introduction Statistics Contact Development Disclaimer Help
tmouse grab needs also to grab for combinations of numlock/lockmask - dwm - [fo…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit a207949b6503546379e3ab727cecc2f3e0cff78d
parent 86d12249dd3b63c9312f3a938b20985abc2a3364
Author: [email protected] <unknown>
Date: Sat, 5 Aug 2006 14:02:25 +0200
mouse grab needs also to grab for combinations of numlock/lockmask
Diffstat:
M client.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/client.c b/client.c
t@@ -245,10 +245,30 @@ manage(Window w, XWindowAttributes *wa)
XGrabButton(dpy, Button1, MODKEY, c->win, False, BUTTONMASK,
GrabModeAsync, GrabModeSync, None, None);
+ XGrabButton(dpy, Button1, MODKEY | LockMask, c->win, False, BUTTONMASK,
+ GrabModeAsync, GrabModeSync, None, None);
+ XGrabButton(dpy, Button1, MODKEY | NUMLOCKMASK, c->win, False, BUTTONM…
+ GrabModeAsync, GrabModeSync, None, None);
+ XGrabButton(dpy, Button1, MODKEY | NUMLOCKMASK | LockMask, c->win, Fal…
+ GrabModeAsync, GrabModeSync, None, None);
+
XGrabButton(dpy, Button2, MODKEY, c->win, False, BUTTONMASK,
GrabModeAsync, GrabModeSync, None, None);
+ XGrabButton(dpy, Button2, MODKEY | LockMask, c->win, False, BUTTONMASK,
+ GrabModeAsync, GrabModeSync, None, None);
+ XGrabButton(dpy, Button2, MODKEY | NUMLOCKMASK, c->win, False, BUTTONM…
+ GrabModeAsync, GrabModeSync, None, None);
+ XGrabButton(dpy, Button2, MODKEY | NUMLOCKMASK | LockMask, c->win, Fal…
+ GrabModeAsync, GrabModeSync, None, None);
+
XGrabButton(dpy, Button3, MODKEY, c->win, False, BUTTONMASK,
GrabModeAsync, GrabModeSync, None, None);
+ XGrabButton(dpy, Button3, MODKEY | LockMask, c->win, False, BUTTONMASK,
+ GrabModeAsync, GrabModeSync, None, None);
+ XGrabButton(dpy, Button3, MODKEY | NUMLOCKMASK, c->win, False, BUTTONM…
+ GrabModeAsync, GrabModeSync, None, None);
+ XGrabButton(dpy, Button3, MODKEY | NUMLOCKMASK | LockMask, c->win, Fal…
+ GrabModeAsync, GrabModeSync, None, None);
settags(c);
if(!c->isfloat)
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.