X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=scrotwm.c;fp=scrotwm.c;h=55bf753bd425679fcbb7d944b486bec2f3da98ae;hb=163f135835a874fde60008254cea4a1f753ddc64;hp=9f7ea21698fe0b87f3517c712873baf7e69c71fd;hpb=56fb67f0d06b337d1fa58299fc907fc32d0ad214;p=spectrwm.git diff --git a/scrotwm.c b/scrotwm.c index 9f7ea21..55bf753 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -4828,7 +4828,8 @@ setautorun(char *selector, char *value, int flags) int setlayout(char *selector, char *value, int flags) { - int ws_id, st, i, x, mg, ma, si, raise; + int ws_id, i, x, mg, ma, si, raise; + int st = SWM_V_STACK; char s[1024]; struct workspace *ws; @@ -5468,7 +5469,6 @@ buttonpress(XEvent *e) DNPRINTF(SWM_D_EVENT, "buttonpress: window: %lu\n", ev->window); - action = root_click; if ((win = find_window(ev->window)) == NULL) return;