X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=event.c;h=a442d2ee2dce289aed30f0ff8a7a0e3591c183b8;hp=acf1b01ea1da5476178020e8b83a658df110fa44;hb=587100873a66e34251041678504a8c1e28410591;hpb=27b0595af72060d7cc406639b6c53a854f0a3590 diff --git a/event.c b/event.c index acf1b01..a442d2e 100644 --- a/event.c +++ b/event.c @@ -151,14 +151,14 @@ buttonpress(XEvent *e) { focus(c); if(CLEANMASK(ev->state) != MODKEY) return; - if(ev->button == Button1 && (lt->arrange == versatile || c->isversatile)) { + if(ev->button == Button1 && (lt->arrange == untile || c->isuntiled)) { restack(); movemouse(c); } else if(ev->button == Button2) zoom(NULL); else if(ev->button == Button3 - && (lt->arrange == versatile || c->isversatile) && !c->isfixed) + && (lt->arrange == untile || c->isuntiled) && !c->isfixed) { restack(); resizemouse(c); @@ -176,7 +176,7 @@ configurerequest(XEvent *e) { c->ismax = False; if(ev->value_mask & CWBorderWidth) c->border = ev->border_width; - if(c->isfixed || c->isversatile || (lt->arrange == versatile)) { + if(c->isfixed || c->isuntiled || (lt->arrange == untile)) { if(ev->value_mask & CWX) c->x = ev->x; if(ev->value_mask & CWY) @@ -304,7 +304,7 @@ propertynotify(XEvent *e) { default: break; case XA_WM_TRANSIENT_FOR: XGetTransientForHint(dpy, c->win, &trans); - if(!c->isversatile && (c->isversatile = (getclient(trans) != NULL))) + if(!c->isuntiled && (c->isuntiled = (getclient(trans) != NULL))) lt->arrange(); break; case XA_WM_NORMAL_HINTS: