diff options
author | Anselm R. Garbe | 2007-02-19 17:12:26 +0100 |
---|---|---|
committer | Anselm R. Garbe | 2007-02-19 17:12:26 +0100 |
commit | 6d5f67a0922d40d52290c12f9c0d937f4121406e (patch) | |
tree | 54f519e2d10bbfd1e1be9de149d2e25ee4ee382c /event.c | |
parent | cee56d38632bbac08e7f59d58c7c7ab1370be329 (diff) |
renames swim[ming] into versatile
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -156,14 +156,14 @@ buttonpress(XEvent *e) { focus(c); if(CLEANMASK(ev->state) != MODKEY) return; - if(ev->button == Button1 && (lt->arrange == swim || c->swimming)) { + if(ev->button == Button1 && (lt->arrange == versatile || c->versatile)) { restack(); movemouse(c); } else if(ev->button == Button2) zoom(NULL); else if(ev->button == Button3 - && (lt->arrange == swim || c->swimming) && !c->isfixed) + && (lt->arrange == versatile || c->versatile) && !c->isfixed) { restack(); resizemouse(c); @@ -181,7 +181,7 @@ configurerequest(XEvent *e) { c->ismax = False; if(ev->value_mask & CWBorderWidth) c->border = ev->border_width; - if(c->isfixed || c->swimming || (lt->arrange == swim)) { + if(c->isfixed || c->versatile || (lt->arrange == versatile)) { if(ev->value_mask & CWX) c->x = ev->x; if(ev->value_mask & CWY) @@ -309,7 +309,7 @@ propertynotify(XEvent *e) { default: break; case XA_WM_TRANSIENT_FOR: XGetTransientForHint(dpy, c->win, &trans); - if(!c->swimming && (c->swimming = (getclient(trans) != NULL))) + if(!c->versatile && (c->versatile = (getclient(trans) != NULL))) lt->arrange(); break; case XA_WM_NORMAL_HINTS: |