From 9b004728202d03241009ef5f73980909e9234bc4 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 12 Aug 2021 19:47:05 +0000 Subject: Evaluate styles with the pane variables. --- cmd-select-pane.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd-select-pane.c') diff --git a/cmd-select-pane.c b/cmd-select-pane.c index 7871fe05..c5b4ee13 100644 --- a/cmd-select-pane.c +++ b/cmd-select-pane.c @@ -145,10 +145,12 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item) markedwp = marked_pane.wp; if (lastwp != NULL) { + lastwp->flags |= (PANE_REDRAW|PANE_STYLECHANGED); server_redraw_window_borders(lastwp->window); server_status_window(lastwp->window); } if (markedwp != NULL) { + markedwp->flags |= (PANE_REDRAW|PANE_STYLECHANGED); server_redraw_window_borders(markedwp->window); server_status_window(markedwp->window); } -- cgit v1.2.3