IME: support IME popup

This commit is contained in:
tokyo4j 2024-02-23 03:50:55 +09:00 committed by Johan Malm
parent 53fc8d5e39
commit b6d576922b
7 changed files with 175 additions and 1 deletions

View file

@ -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;