using None instead of 0 for trans
2ce50a9c
1 file(s) · +2 −2
| 865 | 865 | void |
|
| 866 | 866 | manage(Window w, XWindowAttributes *wa) { |
|
| 867 | 867 | Client *c, *t = NULL; |
|
| 868 | - | Window trans = 0; |
|
| 868 | + | Window trans = None; |
|
| 869 | 869 | XWindowChanges wc; |
|
| 870 | 870 | ||
| 871 | 871 | if(!(c = calloc(1, sizeof(Client)))) |
|
| 909 | 909 | else |
|
| 910 | 910 | applyrules(c); |
|
| 911 | 911 | if(!c->isfloating) |
|
| 912 | - | c->isfloating = trans || c->isfixed; |
|
| 912 | + | c->isfloating = trans != None || c->isfixed; |
|
| 913 | 913 | if(c->isfloating) |
|
| 914 | 914 | XRaiseWindow(dpy, c->win); |
|
| 915 | 915 | attach(c); |
|