mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -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
|
|
@ -169,11 +169,11 @@ ssd_update_geometry(struct view *view)
|
|||
}
|
||||
|
||||
if (!view->ssd.enabled) {
|
||||
if (view->ssd.tree->node.state.enabled) {
|
||||
if (view->ssd.tree->node.enabled) {
|
||||
wlr_scene_node_set_enabled(&view->ssd.tree->node, false);
|
||||
}
|
||||
return;
|
||||
} else if (!view->ssd.tree->node.state.enabled) {
|
||||
} else if (!view->ssd.tree->node.enabled) {
|
||||
wlr_scene_node_set_enabled(&view->ssd.tree->node, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue