LAB_NODE_LAYER_POPUP,
LAB_NODE_SESSION_LOCK_SURFACE,
LAB_NODE_IME_POPUP,
-
- /* never returned by get_cursor_context() */
- LAB_NODE_TREE,
};
enum lab_node_type node_type_parse(const char *context);
ret.node = node;
ret.type = LAB_NODE_MENUITEM;
return ret;
- case LAB_NODE_TREE:
- /* Continue to parent node */
- break;
default:
/*
* All other node descriptors (buttons, title,
for (size_t i = 0; i < ARRAY_SIZE(output->layer_tree); i++) {
output->layer_tree[i] =
wlr_scene_tree_create(&server->scene->tree);
- node_descriptor_create(&output->layer_tree[i]->node,
- LAB_NODE_TREE, /*view*/ NULL, /*data*/ NULL);
}
output->layer_popup_tree = wlr_scene_tree_create(&server->scene->tree);
- node_descriptor_create(&output->layer_popup_tree->node,
- LAB_NODE_TREE, /*view*/ NULL, /*data*/ NULL);
output->osd_tree = wlr_scene_tree_create(&server->scene->tree);
- node_descriptor_create(&output->osd_tree->node,
- LAB_NODE_TREE, /*view*/ NULL, /*data*/ NULL);
output->session_lock_tree = wlr_scene_tree_create(&server->scene->tree);
- node_descriptor_create(&output->session_lock_tree->node,
- LAB_NODE_TREE, /*view*/ NULL, /*data*/ NULL);
/*
* Set the z-positions to achieve the following order (from top to