diff options
Diffstat (limited to 'schewm.c')
-rw-r--r-- | schewm.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2475,7 +2475,7 @@ enum TileType { TILE_BOTTOM_RIGHT, }; -void +static void wm_toggle_tile(enum TileType tile_type) { if (wm.focus == NULL) { return; @@ -2485,7 +2485,8 @@ wm_toggle_tile(enum TileType tile_type) { if (wm.focus->has_old_size) { client_restore_size(wm.focus); dpy_update_window_geometry(wm.focus); - } else { + dpy_draw_focused_borders(wm.focus); + } else { struct Rect rect; // Start with monitor size, then reduce to appropriate target size wm_client_monitor_size(wm.focus, true, &rect); |