Merge pull request #1043 from acrisci/drag-icon-unmap

drag-icon map and unmap fixes
This commit is contained in:
emersion 2018-06-07 11:18:58 +01:00 committed by GitHub
commit 6f895081e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 7 deletions

View file

@ -59,6 +59,7 @@ struct roots_drag_icon {
struct wl_listener surface_commit;
struct wl_listener map;
struct wl_listener unmap;
struct wl_listener destroy;
};

View file

@ -88,7 +88,8 @@ struct wlr_drag_icon {
int32_t sx, sy;
struct {
struct wl_signal map; // emitted when mapped or unmapped
struct wl_signal map;
struct wl_signal unmap;
struct wl_signal destroy;
} events;