aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-09 00:02:36 +0200
committerGitHub <noreply@github.com>2018-10-09 00:02:36 +0200
commit4bebee620f1160d6531d9aaa9b528029f75cecf4 (patch)
tree14fb50168c3ba60446b11b786ea69b8fa07b767f /include/sway/tree/view.h
parenta999269e1cf8eeb423547a0c8ab3420f27628168 (diff)
parentcaed15af8210abffe2dff7c9e0fffc36ab0fbdb5 (diff)
Merge pull request #2772 from RyanDwyer/improve-popup-damage
Only damage popups when popups have damage
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index eb1e98e1..870ef2e0 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -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;
};