rotate-window and swap-pane need to invalidate scene - since the layout stays

the same they cannot rely on the layout code to do it.
This commit is contained in:
Nicholas Marriott
2026-06-19 18:02:40 +01:00
parent 6d95fc5450
commit a17dfabf89
2 changed files with 3 additions and 0 deletions

View File

@@ -109,6 +109,7 @@ cmd_rotate_window_exec(struct cmd *self, struct cmdq_item *item)
window_set_active_pane(w, wp, 1);
cmd_find_from_winlink_pane(current, wl, wp, 0);
window_pop_zoom(w);
redraw_invalidate_scene(w);
server_redraw_window(w);
return (CMD_RETURN_NORMAL);