MwLLWaylandSetToolWindowType
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoIxD 2026-09-27 19:26:52 -07:00
commit a61c199d5e
2 changed files with 18 additions and 1 deletions

View file

@ -464,6 +464,8 @@ struct _MwLLWayland {
MwBool accepts_dnd;
MwBool shown;
enum zwlr_layer_shell_v1_layer layer_surface_type;
};
struct _MwLLWaylandColor {
@ -526,4 +528,13 @@ typedef struct zxdg_decoration_manager_v1_context {
extern struct zwp_relative_pointer_v1_listener MwLLWaylandRelativePointerListener;
/*
* function for setting the layer surface type used when creating a tool window
* (assuming layer surfaces are used).
*
* NOTE: Must be called after MwLLMakeToolWindow, as that function sets the type to
* the default of ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY.
*/
MWDECL void MWAPI MwLLWaylandSetToolWindowType(MwLL handle, enum zwlr_layer_shell_v1_layer type);
#endif