diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-08-18 10:22:46 +0100 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-08-18 10:22:46 +0100 |
| commit | 2ce50a9cada450b0538bb12f0424005652fc1355 (patch) | |
| tree | e048e5db67aa96554811ae4fd2fb7283073d6dab /dwm.c | |
| parent | abc... (diff) | |
| download | dwm-2ce50a9cada450b0538bb12f0424005652fc1355.tar.gz dwm-2ce50a9cada450b0538bb12f0424005652fc1355.zip | |
using None instead of 0 for trans
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -865,7 +865,7 @@ killclient(const Arg *arg) { | |||
| 865 | void | 865 | void |
| 866 | manage(Window w, XWindowAttributes *wa) { | 866 | manage(Window w, XWindowAttributes *wa) { |
| 867 | Client *c, *t = NULL; | 867 | Client *c, *t = NULL; |
| 868 | Window trans = 0; | 868 | Window trans = None; |
| 869 | XWindowChanges wc; | 869 | XWindowChanges wc; |
| 870 | 870 | ||
| 871 | if(!(c = calloc(1, sizeof(Client)))) | 871 | if(!(c = calloc(1, sizeof(Client)))) |
| @@ -909,7 +909,7 @@ manage(Window w, XWindowAttributes *wa) { | |||
| 909 | else | 909 | else |
| 910 | applyrules(c); | 910 | applyrules(c); |
| 911 | if(!c->isfloating) | 911 | if(!c->isfloating) |
| 912 | c->isfloating = trans || c->isfixed; | 912 | c->isfloating = trans != None || c->isfixed; |
| 913 | if(c->isfloating) | 913 | if(c->isfloating) |
| 914 | XRaiseWindow(dpy, c->win); | 914 | XRaiseWindow(dpy, c->win); |
| 915 | attach(c); | 915 | attach(c); |
