Place floating cells meaningfully into the layouts, from Dane Jensen.

This commit is contained in:
nicm
2026-06-22 08:10:16 +00:00
parent 347baa6f3e
commit e680420c89
3 changed files with 19 additions and 13 deletions

View File

@@ -640,7 +640,7 @@ spawn_editor(struct client *c, const char *buf, size_t len,
px = w->sx / 2 - sx / 2;
py = w->sy / 2 - sy / 2;
window_push_zoom(w, 1, 0);
lc = layout_floating_pane(w, sx, sy, px, py);
lc = layout_floating_pane(w, NULL, sx, sy, px, py);
if (lc == NULL) {
spawn_editor_free(es);
return (NULL);