Wayland: Fix incorrect fallback value for height in _xdg_popup_on_configure

This commit is contained in:
Naoto Kondo committed 2026-05-14 10:44:44 +09:00
1 parent 9a33066a27
commit 814d08d77f
1 file changed
+1 -1
+1 -1
View File
@@ -1550,7 +1550,7 @@ void WaylandThread::_xdg_popup_on_configure(void *data, struct xdg_popup *xdg_po
}
if (height == 0) {
height = ws->rect.size.width;
height = ws->rect.size.height;
}
window_state_update_size(ws, width, height);