session-lock: allow client to update cursor shape

This commit is contained in:
tokyo4j 2024-05-30 00:53:52 +09:00 committed by Hiroaki Yamamoto
parent 9e5ea88c70
commit d00711bc45
3 changed files with 27 additions and 4 deletions

View file

@ -336,6 +336,7 @@ 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_SESSION_LOCK_SURFACE: /* fallthrough */
case LAB_NODE_DESC_IME_POPUP:
ret.type = LAB_SSD_CLIENT;
ret.surface = lab_wlr_surface_from_node(ret.node);