diff options
| author | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2026-01-13 22:13:40 +0000 |
|---|---|---|
| committer | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2026-01-13 22:13:40 +0000 |
| commit | 1188395b98d187d08a663949a26fc1138125a895 (patch) | |
| tree | 6d5c22ef9e340a7f6909e9650399571121131636 | |
| parent | b98bfc04980c8bcf1f1c153db87c0ab1471a4af6 (diff) | |
fix floating windows
| -rw-r--r-- | dwm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -880,7 +880,7 @@ focus(Client *c) if (c == nexttiled(selmon->clients)) { XSetWindowBorder(dpy, c->win, scheme[SchemeSel][ColMaster].pixel); - } else if(c->isfloating || !selmon->lt[selmon->sellt]->arrange) { + } else if(c->isfloating) { XSetWindowBorder(dpy, c->win, scheme[SchemeSel][ColFloat].pixel); } else { XSetWindowBorder(dpy, c->win, scheme[SchemeSel][ColBorder].pixel); @@ -1157,7 +1157,7 @@ manage(Window w, XWindowAttributes *wa) if (c == nexttiled(selmon->clients)) { XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColMaster].pixel); - } else if(c->isfloating || !selmon->lt[selmon->sellt]->arrange) { + } else if(c->isfloating) { XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColFloat].pixel); } else XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColBorder].pixel); @@ -2244,7 +2244,7 @@ unfocus(Client *c, int setfocus) return; prevclient = c; grabbuttons(c, 0); - if (c->isfloating || !selmon->lt[selmon->sellt]->arrange) + if (c->isfloating) XSetWindowBorder(dpy, c->win, scheme[SchemeNorm][ColFloat].pixel); else XSetWindowBorder(dpy, c->win, scheme[SchemeNorm][ColBorder].pixel); |
