rootston: damage tracking for drag icons

This commit is contained in:
emersion 2018-01-23 13:37:58 +01:00
parent 415a2b7c56
commit 4d282c8590
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
6 changed files with 57 additions and 11 deletions

View file

@ -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;

View file

@ -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;