From 3cd3537ef8d077de9da2a041ee4268979feeb39d Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:06:00 +0200 Subject: Update bundled libdecor to last upstream version (Apr 4, 2025) --- libdecor/src/libdecor.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'libdecor/src/libdecor.h') diff --git a/libdecor/src/libdecor.h b/libdecor/src/libdecor.h index e52ced0cd..2158829fd 100644 --- a/libdecor/src/libdecor.h +++ b/libdecor/src/libdecor.h @@ -168,6 +168,15 @@ struct libdecor_frame_interface { const char *seat_name, void *user_data); + /** + * The recommended client region bounds for the window. + * This will be followed by a configure event. + */ + void (* bounds)(struct libdecor_frame *frame, + int width, + int height, + void *user_data); + /* Reserved */ void (* reserved0)(void); void (* reserved1)(void); @@ -178,7 +187,6 @@ struct libdecor_frame_interface { void (* reserved6)(void); void (* reserved7)(void); void (* reserved8)(void); - void (* reserved9)(void); }; /** @@ -543,6 +551,14 @@ libdecor_frame_get_xdg_toplevel(struct libdecor_frame *frame); enum libdecor_wm_capabilities libdecor_frame_get_wm_capabilities(struct libdecor_frame *frame); +/** + * Tell libdecor to set the default pointer cursor when the pointer is over an + * application surface. The default false. + */ +void +libdecor_set_handle_application_cursor(struct libdecor *context, + bool handle_cursor); + /** * Create a new content surface state. */ -- cgit v1.2.3