mirror of
https://github.com/swaywm/sway.git
synced 2026-06-17 14:33:33 -04:00
sway/input/cursor: implement pointer-warp-v1
Ref: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5367
This commit is contained in:
parent
9c663b1fa1
commit
adab7ed046
4 changed files with 55 additions and 0 deletions
|
|
@ -147,4 +147,5 @@ const char *get_mouse_button_name(uint32_t button);
|
|||
|
||||
void handle_request_set_cursor_shape(struct wl_listener *listener, void *data);
|
||||
|
||||
void handle_pointer_warp(struct wl_listener *listener, void *data);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -81,6 +81,9 @@ struct sway_server {
|
|||
struct wlr_pointer_constraints_v1 *pointer_constraints;
|
||||
struct wl_listener pointer_constraint;
|
||||
|
||||
struct wlr_pointer_warp_v1 *pointer_warp_v1;
|
||||
struct wl_listener pointer_warp;
|
||||
|
||||
struct wlr_xdg_output_manager_v1 *xdg_output_manager_v1;
|
||||
|
||||
struct wlr_output_manager_v1 *output_manager_v1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue