Skip to content

Commit

Permalink
Merge branch 'obsd-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAdam committed Jan 17, 2023
2 parents 789cb91 + d578cf8 commit f416ae1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd-break-pane.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ cmd_break_pane_exec(struct cmd *self, struct cmdq_item *item)

layout_init(w, wp);
wp->flags |= PANE_CHANGED;
colour_palette_from_option(&wp->palette, wp->options);

if (idx == -1)
idx = -1 - options_get_number(dst_s->options, "base-index");
Expand Down
1 change: 1 addition & 0 deletions cmd-join-pane.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ cmd_join_pane_exec(struct cmd *self, struct cmdq_item *item)
else
TAILQ_INSERT_AFTER(&dst_w->panes, dst_wp, src_wp, entry);
layout_assign_pane(lc, src_wp, 0);
colour_palette_from_option(&src_wp->palette, src_wp->options);

recalculate_sizes();

Expand Down
2 changes: 2 additions & 0 deletions cmd-swap-pane.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ cmd_swap_pane_exec(struct cmd *self, struct cmdq_item *item)
src_w->last = NULL;
if (dst_w->last == dst_wp)
dst_w->last = NULL;
colour_palette_from_option(&src_wp->palette, src_wp->options);
colour_palette_from_option(&dst_wp->palette, dst_wp->options);
}
server_redraw_window(src_w);
server_redraw_window(dst_w);
Expand Down

0 comments on commit f416ae1

Please sign in to comment.