diff options
author | emersion <contact@emersion.fr> | 2018-01-23 13:37:58 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-23 20:01:40 +0100 |
commit | 2ad7df868097d557ed3cc41dfa60e0637f8a08e8 (patch) | |
tree | 783b97e6793e7ed1d88f786b582a45492b3b6bee /include/wlr | |
parent | 415a2b7c569457ebf85d7ae066cc19bee196d22e (diff) |
rootston: damage tracking for drag icons
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_data_device.h | 4 | ||||
-rw-r--r-- | include/wlr/types/wlr_seat.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_data_device.h b/include/wlr/types/wlr_data_device.h index 54514b4c..ff4a0f7e 100644 --- a/include/wlr/types/wlr_data_device.h +++ b/include/wlr/types/wlr_data_device.h @@ -71,10 +71,10 @@ struct wlr_drag_icon { bool is_pointer; int32_t touch_id; - int32_t sx; - int32_t sy; + int32_t sx, sy; struct { + struct wl_signal map; // emitted when mapped or unmapped struct wl_signal destroy; } events; diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index c2a89f33..ffdabd98 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -209,6 +209,8 @@ struct wlr_seat { struct wl_signal selection; struct wl_signal primary_selection; + struct wl_signal new_drag_icon; + struct wl_signal destroy; } events; |