X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=dc14bfd7e2a460d71601da48ecfdc1ce818016d3;hp=14cf3f9b70933117b25b0e20456974d4cac887fd;hb=2ce50a9cada450b0538bb12f0424005652fc1355;hpb=bfa5869da154a0bd356d31cb7fe0d7b97fbc4e9d diff --git a/dwm.c b/dwm.c index 14cf3f9..dc14bfd 100644 --- a/dwm.c +++ b/dwm.c @@ -865,7 +865,7 @@ killclient(const Arg *arg) { 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 @@ manage(Window w, XWindowAttributes *wa) { 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);