using None instead of 0 for trans

master
Anselm R Garbe 2008-08-18 10:22:46 +01:00
parent bfa5869da1
commit 2ce50a9cad
1 changed files with 2 additions and 2 deletions

4
dwm.c
View File

@ -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);