X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=scrotwm.c;h=3f48ca684484fc6d2176b2cce1dd252a2b1c16b7;hb=a4ecf5f75c3e5a3053faa1e84d0c5ae78a9db92d;hp=31a7364213cfb7efea07f2546f142000d103ba21;hpb=0ec8b7200e971b5d5721dac23fe4364e91bda13f;p=spectrwm.git diff --git a/scrotwm.c b/scrotwm.c index 31a7364..3f48ca6 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -1567,7 +1567,7 @@ stack_master(struct workspace *ws, struct swm_geometry *g, int rot, int flip) int w_inc = 1, h_inc, w_base = 1, h_base; int hrh, extra = 0, h_slice, last_h = 0; int split, colno, winno, mwin, msize, mscale; - int remain, missing, v_slice;; + int remain, missing, v_slice; unsigned int mask; DNPRINTF(SWM_D_STACK, "stack_master: workspace: %d\n rot=%s flip=%s", @@ -2249,6 +2249,8 @@ parsekeys(char *keystr, unsigned int currmod, unsigned int *mod, KeySym *ks) *mod |= Mod4Mask; else if (strncasecmp(name, "SHIFT", SWM_MODNAME_SIZE) == 0) *mod |= ShiftMask; + else if (strncasecmp(name, "CONTROL", SWM_MODNAME_SIZE) == 0) + *mod |= ControlMask; else { *ks = XStringToKeysym(name); XConvertCase(*ks, ks, &uks);