summaryrefslogtreecommitdiff
path: root/libdecor/src/libdecor.h
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-04-04 12:06:00 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-04-04 12:06:00 +0200
commit3cd3537ef8d077de9da2a041ee4268979feeb39d (patch)
tree6526e41cb0d4a3f377361f88e69632339526b3e7 /libdecor/src/libdecor.h
parentfb48bc22cca0adc38689ba7c96666ff772ab91a6 (diff)
Update bundled libdecor to last upstream version (Apr 4, 2025)
Diffstat (limited to 'libdecor/src/libdecor.h')
-rw-r--r--libdecor/src/libdecor.h18
1 files changed, 17 insertions, 1 deletions
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);
};
/**
@@ -544,6 +552,14 @@ 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.
*/
struct libdecor_state *