summaryrefslogtreecommitdiff
path: root/libdecor/src/libdecor.h
diff options
context:
space:
mode:
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 *