]> git.mdlowis.com Git - proto/labwc.git/commit
ssd: Make ssd_get_part_type() work for corner buttons
authorJohn Lindgren <john@jlindgren.net>
Thu, 8 Sep 2022 17:16:19 +0000 (13:16 -0400)
committerJohn Lindgren <john@jlindgren.net>
Fri, 9 Sep 2022 19:23:13 +0000 (15:23 -0400)
commit48fde32e62c75f136c8d4c920c2f8c9612179457
tree433cb4faa2e4d1cf068826a7db6861d056566106
parentebd0a5d5269835d70bf669d69a51ce7d61e26f68
ssd: Make ssd_get_part_type() work for corner buttons

Corner buttons (WINDOW_MENU and CLOSE) are one more level down in
the scene-tree (see add_scene_button_corner() in ssd_part.c).

This fixes a minor issue where, when right-clicking on the CLOSE
button, the client-menu would be displayed in the wrong location.
src/ssd/ssd.c