mirror of
https://github.com/labwc/labwc.git
synced 2026-02-17 22:05:30 -05:00
IME: support IME popup
This commit is contained in:
parent
53fc8d5e39
commit
b6d576922b
7 changed files with 175 additions and 1 deletions
|
|
@ -326,6 +326,10 @@ get_cursor_context(struct server *server)
|
|||
ret.type = LAB_SSD_CLIENT;
|
||||
ret.surface = get_surface_from_layer_node(node);
|
||||
return ret;
|
||||
case LAB_NODE_DESC_IME_POPUP:
|
||||
ret.type = LAB_SSD_CLIENT;
|
||||
ret.surface = lab_wlr_surface_from_node(ret.node);
|
||||
return ret;
|
||||
case LAB_NODE_DESC_MENUITEM:
|
||||
/* Always return the top scene node for menu items */
|
||||
ret.node = node;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue