summaryrefslogtreecommitdiffstats
path: root/dwl.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/dwl.c b/dwl.c
index e48dfb3..48e421c 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1918,7 +1918,7 @@ focusclient(Client *c, int lift)
selmon = c->mon;
c->isurgent = 0;
- client_set_border_color(c, focuscolor, borderscolor, borderecolor);
+ client_set_border_color(c, focuscolor);
}
/* Deactivate old client if focus is changing */
@@ -1935,7 +1935,7 @@ focusclient(Client *c, int lift)
/* Don't deactivate old client if the new one wants focus, as this causes issues with winecfg
* and probably other clients */
} else if (old_c && !client_is_unmanaged(old_c) && (!c || !client_wants_focus(c))) {
- client_set_border_color(old_c, bordercolor, borderscolor, borderecolor);
+ client_set_border_color(old_c, bordercolor);
client_activate_surface(old, 0);
}
@@ -2619,7 +2619,7 @@ motionnotify(uint32_t time, struct wlr_input_device *device, double dx, double d
if (sloppyfocus)
selmon = xytomon(cursor->x, cursor->y);
}
- client_set_border_color(focustop(selmon), focuscolor, borderscolor, borderecolor);
+ client_set_border_color(focustop(selmon), focuscolor);
/* Update drag icon's position */
wlr_scene_node_set_position(&drag_icon->node, (int)round(cursor->x), (int)round(cursor->y));
@@ -3780,7 +3780,7 @@ urgent(struct wl_listener *listener, void *data)
printstatus();
if (client_surface(c)->mapped)
- client_set_border_color(c, urgentcolor, borderscolor, borderecolor);
+ client_set_border_color(c, urgentcolor);
}
void
@@ -4009,7 +4009,7 @@ sethints(struct wl_listener *listener, void *data)
printstatus();
if (c->isurgent && surface && surface->mapped)
- client_set_border_color(c, urgentcolor, borderscolor, borderecolor);
+ client_set_border_color(c, urgentcolor);
}
void