]> git.mdlowis.com Git - proto/labwc.git/commit
ssd: attach LAB_NODE_SSD_ROOT to ssd->tree
authortokyo4j <hrak1529@gmail.com>
Sun, 7 Sep 2025 12:48:51 +0000 (21:48 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Mon, 8 Sep 2025 06:46:36 +0000 (15:46 +0900)
commit574b20fbff89a56189462e2cf3599f94a28846bb
tree57ab9565fc0fbc3e712bb24f7f712ab36fc1c4ee
parentb9b23f59319ee060170ad5f8fe58117937412b19
ssd: attach LAB_NODE_SSD_ROOT to ssd->tree

This doesn't change any behaviors.

Attaching LAB_NODE_NONE node-descriptor to ssd->tree looks strange, this
patch uses new LAB_NODE_SSD_ROOT instead. The node-descriptor attached to
ssd->tree is needed for get_cursor_context() to detect cursor hovering on
borders/extents.

I also updated get_cursor_context() to make my intent clearer.
include/common/node-type.h
include/ssd-internal.h
src/desktop.c
src/ssd/ssd.c