summaryrefslogtreecommitdiff
path: root/dwm/dwm.c
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-19 20:13:19 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-19 20:13:19 +0900
commitdae71168b3d6d472dcde701d94a43f10fcf1c8e1 (patch)
tree4465d2bc06de774111e7609e9af9c2fd21e5d450 /dwm/dwm.c
parentc9b824847f830d2df17f98f504bce3efebe4d68e (diff)
modified dwm/config.def.h, modified dwm/drw.h, modified dwm/dwm.c
Diffstat (limited to 'dwm/dwm.c')
-rw-r--r--dwm/dwm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dwm/dwm.c b/dwm/dwm.c
index c22e808..3ab11c4 100644
--- a/dwm/dwm.c
+++ b/dwm/dwm.c
@@ -2914,9 +2914,9 @@ unfocus(Client *c, int setfocus)
return;
grabbuttons(c, 0);
if (c == mark)
- XSetWindowBorder(dpy, c->win, scheme[SchemeNorm][ColMark].pixel);
- else
- XSetWindowBorder(dpy, c->win, scheme[SchemeNorm][ColBorder].pixel);
+ XSetWindowBorder(dpy, c->win, scheme[SchemeNorm][ColMark].pixel);
+ else
+ XSetWindowBorder(dpy, c->win, scheme[SchemeNorm][ColBorder].pixel);
if (setfocus)
{
XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);