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

@ -141,6 +141,11 @@ get_special(struct server *server, struct wlr_scene_node *node)
/* Created on-demand */
return "seat->region_overlay";
}
if (server->seat.input_method_relay->popup_tree
&& node == &server->seat.input_method_relay->popup_tree->node) {
/* Created on-demand */
return "seat->im_relay->popup_tree";
}
if (server->osd_state.preview_outline
&& node == &server->osd_state.preview_outline->tree->node) {
/* Created on-demand */