summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--schewm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/schewm.c b/schewm.c
index e73b0e8..ab6993c 100644
--- a/schewm.c
+++ b/schewm.c
@@ -1930,6 +1930,7 @@ wm_set_client_state(struct Client *client, enum WindowState state) {
}
client_restore_size(client);
dpy_update_window_geometry(client);
+ dpy_draw_borders(client, wm.focus == client);
break;
case WS_ICONIFIED:
dpy_unmap_window(client->id);
@@ -1947,6 +1948,7 @@ wm_set_client_state(struct Client *client, enum WindowState state) {
client->height = mon_rect.height - cfg.border_width * 2;
}
dpy_update_window_geometry(client);
+ dpy_draw_borders(client, wm.focus == client);
break;
case WS_FULLSCREEN:
break;