summaryrefslogtreecommitdiffstats
path: root/dwl.c
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2025-02-22 12:18:52 -0600
committerSquibid <me@zacharyscheiman.com>2025-02-22 12:18:52 -0600
commit9f25812dc5c27ac140845f65fa20dcbd7504e5c7 (patch)
tree58111d909966cdd08f5b4e275b35cc4a127b6552 /dwl.c
parent400767dae1316df25fd8b140a40c24cf942f2535 (diff)
downloaddwl-9f25812dc5c27ac140845f65fa20dcbd7504e5c7.tar.gz
dwl-9f25812dc5c27ac140845f65fa20dcbd7504e5c7.tar.bz2
dwl-9f25812dc5c27ac140845f65fa20dcbd7504e5c7.zip
configure the borders
Diffstat (limited to 'dwl.c')
-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