Merge pull request #2772 from RyanDwyer/improve-popup-damage

Only damage popups when popups have damage
This commit is contained in:
Drew DeVault 2018-10-09 00:02:36 +02:00 committed by GitHub
commit 4bebee620f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 80 additions and 9 deletions

View file

@ -208,6 +208,7 @@ struct sway_xwayland_unmanaged {
struct sway_view_child;
struct sway_view_child_impl {
void (*get_root_coords)(struct sway_view_child *child, int *sx, int *sy);
void (*destroy)(struct sway_view_child *child);
};
@ -222,6 +223,8 @@ struct sway_view_child {
struct wl_listener surface_commit;
struct wl_listener surface_new_subsurface;
struct wl_listener surface_map;
struct wl_listener surface_unmap;
struct wl_listener surface_destroy;
struct wl_listener view_unmap;
};