mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-18 06:59:44 -05:00
Merge pull request #1384 from emersion/data-multiple-devices
data-device: allow multiple devices for the same seat
This commit is contained in:
commit
a2b8d47ff2
6 changed files with 117 additions and 149 deletions
|
|
@ -12,14 +12,14 @@
|
|||
#include <wayland-server.h>
|
||||
#include <wlr/types/wlr_seat.h>
|
||||
|
||||
extern const struct
|
||||
wlr_pointer_grab_interface wlr_data_device_pointer_drag_interface;
|
||||
extern const struct wlr_pointer_grab_interface
|
||||
wlr_data_device_pointer_drag_interface;
|
||||
|
||||
extern const struct
|
||||
wlr_keyboard_grab_interface wlr_data_device_keyboard_drag_interface;
|
||||
extern const struct wlr_keyboard_grab_interface
|
||||
wlr_data_device_keyboard_drag_interface;
|
||||
|
||||
extern const struct
|
||||
wlr_touch_grab_interface wlr_data_device_touch_drag_interface;
|
||||
extern const struct wlr_touch_grab_interface
|
||||
wlr_data_device_touch_drag_interface;
|
||||
|
||||
struct wlr_data_device_manager {
|
||||
struct wl_global *global;
|
||||
|
|
@ -72,7 +72,6 @@ struct wlr_data_source {
|
|||
|
||||
// source status
|
||||
bool accepted;
|
||||
struct wlr_data_offer *offer;
|
||||
|
||||
// drag'n'drop status
|
||||
enum wl_data_device_manager_dnd_action current_dnd_action;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue