Unzoom before creating floating pane.

This commit is contained in:
Nicholas Marriott
2026-07-06 09:05:05 +01:00
parent 173cc3dfc5
commit 8237d72900
3 changed files with 8 additions and 1 deletions

View File

@@ -1417,6 +1417,7 @@ layout_get_floating_cell(struct cmdq_item *item, struct args *args,
w->last_new_pane_y = oy;
}
window_push_zoom(wp->window, 1, args_has(args, 'Z'));
lcnew = layout_floating_pane(w, sx, sy, ox, oy);
return (lcnew);
}