Merge branch 'cursor-outputs-update' into 'master'

cursor: add outputs_update event

See merge request wlroots/wlroots!4065
This commit is contained in:
Simon Ser 2023-06-04 20:54:33 +00:00
commit 8aa4eae7b6
2 changed files with 47 additions and 0 deletions

View file

@ -29,6 +29,11 @@ struct wlr_input_device;
struct wlr_box;
struct wlr_cursor_state;
struct wlr_cursor_outputs_update_event {
struct wlr_output *const *outputs;
size_t outputs_len;
};
struct wlr_cursor {
struct wlr_cursor_state *state;
double x, y;
@ -72,6 +77,8 @@ struct wlr_cursor {
struct wl_signal tablet_tool_proximity;
struct wl_signal tablet_tool_tip;
struct wl_signal tablet_tool_button;
struct wl_signal outputs_update; // struct wlr_cursor_outputs_update_event
} events;
void *data;