mirror of
https://github.com/labwc/labwc.git
synced 2026-03-09 05:33:53 -04:00
osd: allow clicking an osd item to focus the window
This commit is contained in:
parent
00f0a46ef7
commit
9197eb468a
9 changed files with 55 additions and 1 deletions
|
|
@ -340,6 +340,11 @@ get_cursor_context(struct server *server)
|
|||
ret.node = node;
|
||||
ret.type = LAB_NODE_MENUITEM;
|
||||
return ret;
|
||||
case LAB_NODE_OSD_ITEM:
|
||||
/* Always return the top scene node for osd items */
|
||||
ret.node = node;
|
||||
ret.type = LAB_NODE_OSD_ITEM;
|
||||
return ret;
|
||||
case LAB_NODE_BUTTON_FIRST...LAB_NODE_BUTTON_LAST:
|
||||
case LAB_NODE_SSD_ROOT:
|
||||
case LAB_NODE_TITLE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue