mirror of
https://github.com/tmux/tmux.git
synced 2026-10-07 10:14:28 +00:00
Merge branch 'master' into floating_panes
This commit is contained in:
6
layout.c
6
layout.c
@@ -1431,10 +1431,10 @@ layout_floating_pane(struct window *w, struct window_pane *wp, u_int sx,
|
||||
{
|
||||
struct layout_cell *lc, *lcnew, *lcparent;
|
||||
|
||||
if (wp != NULL)
|
||||
lc = wp->layout_cell;
|
||||
else
|
||||
if (wp == NULL)
|
||||
lc = w->layout_root;
|
||||
else
|
||||
lc = wp->layout_cell;
|
||||
lcparent = lc->parent;
|
||||
|
||||
if (lcparent == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user