Skip to content

Commit 1de2890

Browse files
committed
Schedule a configure for popups when Popup is initialized
1 parent 85a0d8f commit 1de2890

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/surface/popup.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ Popup::Popup(Surface& parent, wlr_xdg_popup& wlr) noexcept
7474
scene_node->data = this;
7575
wlr.base->surface->data = this;
7676

77+
// just in case the popup hasn't been configured already (2024-07-13)
78+
wlr_xdg_surface_schedule_configure(wlr.base);
79+
7780
listeners.map.notify = popup_map_notify;
7881
wl_signal_add(&wlr.base->surface->events.map, &listeners.map);
7982
listeners.destroy.notify = popup_destroy_notify;

0 commit comments

Comments
 (0)