mirror of
https://github.com/labwc/labwc.git
synced 2026-02-21 01:40:26 -05:00
Chase wlroots: scene_node.state is now inlined
Chases wlroots cb2dbc327e4d695c2a60a386e116a7dc20b29107 wlr_scene: Inline wlr_scene_node_state
This commit is contained in:
parent
2ed7a10779
commit
08518513cc
8 changed files with 16 additions and 16 deletions
|
|
@ -230,8 +230,8 @@ move_popup_to_top_layer(struct lab_layer_surface *toplevel,
|
|||
struct output *output = output_from_wlr_output(server, wlr_output);
|
||||
struct wlr_box box = { 0 };
|
||||
wlr_output_layout_get_box(server->output_layout, wlr_output, &box);
|
||||
int lx = toplevel->scene_layer_surface->tree->node.state.x + box.x;
|
||||
int ly = toplevel->scene_layer_surface->tree->node.state.y + box.y;
|
||||
int lx = toplevel->scene_layer_surface->tree->node.x + box.x;
|
||||
int ly = toplevel->scene_layer_surface->tree->node.y + box.y;
|
||||
|
||||
struct wlr_scene_node *node = &popup->scene_tree->node;
|
||||
wlr_scene_node_reparent(node, output->layer_popup_tree);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue