aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_pointer.h2
-rw-r--r--include/wlr/types/wlr_seat.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/wlr/types/wlr_pointer.h b/include/wlr/types/wlr_pointer.h
index 240b69d6..931bc046 100644
--- a/include/wlr/types/wlr_pointer.h
+++ b/include/wlr/types/wlr_pointer.h
@@ -63,7 +63,7 @@ struct wlr_pointer_button_event {
struct wlr_pointer *pointer;
uint32_t time_msec;
uint32_t button;
- enum wlr_button_state state;
+ enum wl_pointer_button_state state;
};
enum wlr_axis_orientation {
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index b6d80f15..0c1f0689 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -98,7 +98,7 @@ struct wlr_pointer_grab_interface {
void (*motion)(struct wlr_seat_pointer_grab *grab, uint32_t time_msec,
double sx, double sy);
uint32_t (*button)(struct wlr_seat_pointer_grab *grab, uint32_t time_msec,
- uint32_t button, enum wlr_button_state state);
+ uint32_t button, enum wl_pointer_button_state state);
void (*axis)(struct wlr_seat_pointer_grab *grab, uint32_t time_msec,
enum wlr_axis_orientation orientation, double value,
int32_t value_discrete, enum wl_pointer_axis_source source,
@@ -399,7 +399,7 @@ void wlr_seat_pointer_send_motion(struct wlr_seat *wlr_seat, uint32_t time_msec,
* instead.
*/
uint32_t wlr_seat_pointer_send_button(struct wlr_seat *wlr_seat,
- uint32_t time_msec, uint32_t button, enum wlr_button_state state);
+ uint32_t time_msec, uint32_t button, enum wl_pointer_button_state state);
/**
* Send an axis event to the surface with pointer focus. This function does not
@@ -453,7 +453,7 @@ void wlr_seat_pointer_notify_motion(struct wlr_seat *wlr_seat,
* pointer.
*/
uint32_t wlr_seat_pointer_notify_button(struct wlr_seat *wlr_seat,
- uint32_t time_msec, uint32_t button, enum wlr_button_state state);
+ uint32_t time_msec, uint32_t button, enum wl_pointer_button_state state);
/**
* Notify the seat of an axis event. Defers to any grab of the pointer.