From 98c77cd6a7457829889e433d0cbe47fc3c340b60 Mon Sep 17 00:00:00 2001 From: tokyo4j Date: Sun, 7 Sep 2025 03:42:50 +0900 Subject: [PATCH] ssd-titlebar: don't bind ssd_part to ssd->tree Fixes up f347a81. This mistake didn't cause misbehaviors because the ssd_part bound to ssd->tree is just a placeholder to let get_cursor_context() call ssd_get_resizing_type() when the cursor is on border/extents. --- src/ssd/ssd-titlebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssd/ssd-titlebar.c b/src/ssd/ssd-titlebar.c index 13e3ebf6..e2cb2e06 100644 --- a/src/ssd/ssd-titlebar.c +++ b/src/ssd/ssd-titlebar.c @@ -33,7 +33,7 @@ ssd_titlebar_create(struct ssd *ssd) int corner_width = ssd_get_corner_width(); ssd->titlebar.tree = wlr_scene_tree_create(ssd->tree); - attach_ssd_part(LAB_SSD_PART_TITLEBAR, view, &ssd->tree->node); + attach_ssd_part(LAB_SSD_PART_TITLEBAR, view, &ssd->titlebar.tree->node); enum ssd_active_state active; FOR_EACH_ACTIVE_STATE(active) {