tusing None instead of 0 for trans - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2ce50a9cada450b0538bb12f0424005652fc1355
(DIR) parent bfa5869da154a0bd356d31cb7fe0d7b97fbc4e9d
(HTM) Author: Anselm R Garbe <garbeam@gmail.com>
Date: Mon, 18 Aug 2008 10:22:46 +0100
using None instead of 0 for trans
Diffstat:
M dwm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/dwm.c b/dwm.c
t@@ -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))))
t@@ -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);