using None instead of 0 for trans
Anselm R Garbe garbeam@gmail.com
Mon, 18 Aug 2008 10:22:46 +0100
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -865,7 +865,7 @@
void manage(Window w, XWindowAttributes *wa) { Client *c, *t = NULL; - Window trans = 0; + Window trans = None; XWindowChanges wc; if(!(c = calloc(1, sizeof(Client))))@@ -909,7 +909,7 @@ c->tags = t->tags;
else applyrules(c); if(!c->isfloating) - c->isfloating = trans || c->isfixed; + c->isfloating = trans != None || c->isfixed; if(c->isfloating) XRaiseWindow(dpy, c->win); attach(c);