mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
Finish addressing @emersion's comments
This commit is contained in:
parent
b8460f448c
commit
8b97c20d01
1 changed files with 4 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
struct wlr_relative_pointer_manager_v1 {
|
struct wlr_relative_pointer_manager_v1 {
|
||||||
struct wl_global *global;
|
struct wl_global *global;
|
||||||
struct wl_list resources; // wl_resource_get_link()
|
struct wl_list resources; // wl_resource_get_link()
|
||||||
struct wl_list relative_pointers;
|
struct wl_list relative_pointers; // wlr_relative_pointer_v1::link
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
struct wl_signal destroy;
|
struct wl_signal destroy;
|
||||||
|
@ -68,6 +68,9 @@ struct wlr_relative_pointer_manager_v1 *wlr_relative_pointer_manager_v1_create(
|
||||||
void wlr_relative_pointer_manager_v1_destroy(
|
void wlr_relative_pointer_manager_v1_destroy(
|
||||||
struct wlr_relative_pointer_manager_v1 *relative_pointer_manager);
|
struct wlr_relative_pointer_manager_v1 *relative_pointer_manager);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Send a relative motion event to the seat with the same wl_pointer as relative_pointer
|
||||||
|
*/
|
||||||
void wlr_relative_pointer_v1_send_relative_motion(
|
void wlr_relative_pointer_v1_send_relative_motion(
|
||||||
struct wlr_relative_pointer_v1 *relative_pointer, uint64_t time_msec,
|
struct wlr_relative_pointer_v1 *relative_pointer, uint64_t time_msec,
|
||||||
double dx, double dy, double dx_unaccel, double dy_unaccel);
|
double dx, double dy, double dx_unaccel, double dy_unaccel);
|
||||||
|
|
Loading…
Reference in a new issue