diff options
author | Samuel Fadel <samuel@nihil.ws> | 2022-12-25 12:06:12 +0100 |
---|---|---|
committer | Samuel Fadel <samuel@nihil.ws> | 2022-12-25 12:06:12 +0100 |
commit | b71e62386593249c366b6253b9fa5fc9e01db4d6 (patch) | |
tree | d157762e4a7478d63f0453be71ad6a116761e5a4 | |
parent | 2a6802cba40a701b9c4f92b7ea8734e73e066575 (diff) |
Maximization should also redraw borders.
* schewm.c: wm_set_client_state(): Call dpy_draw_borders() as needed
-rw-r--r-- | schewm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |