This commit is contained in:
speediegq 2022-08-28 02:33:33 +02:00
parent 794e63060c
commit bddbac84e3

View file

@ -987,7 +987,7 @@ buttonpress(XEvent *e)
if (!leftlayout)
x += (1.0 / (double)m->bt) * m->btw;
else
x += (1.0 / (double)m->bt) * m->btw + lrpad;
x += (1.0 / (double)m->bt) * m->btw + lrpad - 7;
} while (c && ev->x > x && (c = c->next));
click = ClkWinTitle;
@ -1448,15 +1448,9 @@ dragcfact(const Arg *arg)
resizemouse(arg);
return;
}
#if !FAKEFULLSCREEN_PATCH
#if FAKEFULLSCREEN_CLIENT_PATCH
if (c->isfullscreen && !c->fakefullscreen) /* no support resizing fullscreen windows by mouse */
return;
#else
if (c->isfullscreen) /* no support resizing fullscreen windows by mouse */
return;
#endif // FAKEFULLSCREEN_CLIENT_PATCH
#endif // !FAKEFULLSCREEN_PATCH
restack(selmon);
if (XGrabPointer(dpy, root, False, MOUSEMASK, GrabModeAsync, GrabModeAsync,
@ -3817,8 +3811,6 @@ setcfact(const Arg *arg)
if (!arg || !c || !selmon->lt[selmon->sellt]->arrange)
return;
//f = arg->f + c->cfact;
//if(arg->f == 0.0)
if (!arg->f)
f = 1.0;
else if (arg->f > 4.0) // set fact absolutely