File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ static void popup_map_notify(wl_listener* listener, [[maybe_unused]] void* data)
26
26
wlr_surface_send_enter (popup.wlr ->base ->surface , &output->wlr );
27
27
}
28
28
}
29
+
30
+ wlr_scene_node_raise_to_top (popup.scene_node );
29
31
}
30
32
31
33
static void popup_destroy_notify (wl_listener* listener, [[maybe_unused]] void * data) {
@@ -47,7 +49,7 @@ static void popup_new_popup_notify(wl_listener* listener, void* data) {
47
49
48
50
Popup::Popup (Surface& parent, wlr_xdg_popup& wlr) noexcept
49
51
: listeners(*this ), server(parent.get_server()), parent(parent), wlr(&wlr) {
50
- auto * scene_tree = wlr_scene_xdg_surface_create (parent.scene_node -> parent , wlr.base );
52
+ auto * scene_tree = wlr_scene_xdg_surface_create (wlr_scene_tree_from_node ( parent.scene_node ) , wlr.base );
51
53
scene_node = &scene_tree->node ;
52
54
53
55
scene_node->data = this ;
You can’t perform that action at this time.
0 commit comments