Mercurial > aewl
comparison client.c @ 113:b2445fd41f5e
applied Jukka's patch with s/ModKeyMask/MODKEY/g
author | arg@10ksloc.org |
---|---|
date | Wed, 19 Jul 2006 16:38:39 +0200 |
parents | c292574503dd |
children | dfa5cd0969a6 |
comparison
equal
deleted
inserted
replaced
112:2c9e0dae41f3 | 113:b2445fd41f5e |
---|---|
237 c->next = clients; | 237 c->next = clients; |
238 clients = c; | 238 clients = c; |
239 | 239 |
240 XGrabButton(dpy, Button1, ControlMask, c->win, False, ButtonPressMask, | 240 XGrabButton(dpy, Button1, ControlMask, c->win, False, ButtonPressMask, |
241 GrabModeAsync, GrabModeSync, None, None); | 241 GrabModeAsync, GrabModeSync, None, None); |
242 XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask, | 242 XGrabButton(dpy, Button1, MODKEY, c->win, False, ButtonPressMask, |
243 GrabModeAsync, GrabModeSync, None, None); | 243 GrabModeAsync, GrabModeSync, None, None); |
244 XGrabButton(dpy, Button2, Mod1Mask, c->win, False, ButtonPressMask, | 244 XGrabButton(dpy, Button2, MODKEY, c->win, False, ButtonPressMask, |
245 GrabModeAsync, GrabModeSync, None, None); | 245 GrabModeAsync, GrabModeSync, None, None); |
246 XGrabButton(dpy, Button3, Mod1Mask, c->win, False, ButtonPressMask, | 246 XGrabButton(dpy, Button3, MODKEY, c->win, False, ButtonPressMask, |
247 GrabModeAsync, GrabModeSync, None, None); | 247 GrabModeAsync, GrabModeSync, None, None); |
248 | 248 |
249 if(!c->isfloat) | 249 if(!c->isfloat) |
250 c->isfloat = trans | 250 c->isfloat = trans |
251 || ((c->maxw == c->minw) && (c->maxh == c->minh)); | 251 || ((c->maxw == c->minw) && (c->maxh == c->minh)); |