summaryrefslogtreecommitdiffhomepage
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index ea20c20..627afa9 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1773,7 +1773,9 @@ drawbar(Monitor *m)
{
Bar *bar;
+ #if !BAR_FLEXWINTITLE_PATCH
if (m->showbar)
+ #endif // BAR_FLEXWINTITLE_PATCH
for (bar = m->bar; bar; bar = bar->next)
drawbarwin(bar);
}
@@ -2437,7 +2439,7 @@ manage(Window w, XWindowAttributes *wa)
#endif // MAXIMIZE_PATCH / EXRESIZE_PATCH
if (!c->isfloating)
- c->isfloating = c->oldstate = trans != None || c->isfixed;
+ c->isfloating = c->oldstate = t || c->isfixed;
if (c->isfloating) {
XRaiseWindow(dpy, c->win);
XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColFloat].pixel);