mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
relative_pointer: code formatting fixes
This commit is contained in:
parent
d020344675
commit
6fa1777f94
5 changed files with 44 additions and 48 deletions
|
|
@ -12,13 +12,15 @@
|
|||
#include <wayland-server.h>
|
||||
|
||||
|
||||
/* This protocol specifies a set of interfaces used for making clients able to
|
||||
/**
|
||||
* This protocol specifies a set of interfaces used for making clients able to
|
||||
* receive relative pointer events not obstructed by barriers (such as the
|
||||
* monitor edge or other pointer barriers).
|
||||
*/
|
||||
|
||||
|
||||
/* A global interface used for getting the relative pointer object for a given
|
||||
/**
|
||||
* A global interface used for getting the relative pointer object for a given
|
||||
* pointer.
|
||||
*
|
||||
* Signals:
|
||||
|
|
@ -41,7 +43,8 @@ struct wlr_relative_pointer_manager_v1 {
|
|||
};
|
||||
|
||||
|
||||
/* A wp_relative_pointer object is an extension to the wl_pointer interface
|
||||
/**
|
||||
* A wp_relative_pointer object is an extension to the wl_pointer interface
|
||||
* used for emitting relative pointer events. It shares the same focus as
|
||||
* wl_pointer objects of the same seat and will only emit events when it has
|
||||
* focus.
|
||||
|
|
@ -67,7 +70,6 @@ struct wlr_relative_pointer_manager_v1 *wlr_relative_pointer_v1_create(struct wl
|
|||
void wlr_relative_pointer_v1_destroy(struct wlr_relative_pointer_manager_v1 *relative_pointer_manager);
|
||||
|
||||
void wlr_relative_pointer_v1_send_relative_motion(struct wl_resource *resource,
|
||||
uint64_t time, double dx, double dy, double dx_unaccel, double
|
||||
dy_unaccel);
|
||||
uint64_t time, double dx, double dy, double dx_unaccel, double dy_unaccel);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -314,7 +314,8 @@ void wlr_seat_pointer_clear_focus(struct wlr_seat *wlr_seat);
|
|||
void wlr_seat_pointer_send_motion(struct wlr_seat *wlr_seat, uint32_t time,
|
||||
double sx, double sy);
|
||||
|
||||
/** Send relative motion events to the surface with pointer focus. Coordinates
|
||||
/**
|
||||
* Send relative motion events to the surface with pointer focus. Coordinates
|
||||
* for the motion event are relative to current pointer location, both
|
||||
* accelerated and unaccelerated. Compositors should use
|
||||
* `wlr_seat_pointer_notify_relative_motion()` to send relative motion events
|
||||
|
|
@ -323,8 +324,8 @@ void wlr_seat_pointer_send_motion(struct wlr_seat *wlr_seat, uint32_t time,
|
|||
* Note that the timestamp is 64 bit, split into high 32 bits and low 32 bits.
|
||||
*/
|
||||
void wlr_seat_pointer_notify_relative_motion(struct wlr_seat *wlr_seat,
|
||||
uint64_t time, double dx, double dy, double dx_unaccel,
|
||||
double dy_unaccel);
|
||||
uint64_t time, double dx, double dy,
|
||||
double dx_unaccel, double dy_unaccel);
|
||||
|
||||
/**
|
||||
* Send a button event to the surface with pointer focus. Coordinates for the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue