aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-06 11:43:55 -0400
committerGitHub <noreply@github.com>2018-04-06 11:43:55 -0400
commitd447460c0153a76a0bc484bb9866cef658b3102f (patch)
tree4323a9130346ca4d836b0ae70c03877e13310bfc /include
parentd77a0119f46ab977beca6725efed38fcb5f9e434 (diff)
parent290c9162901008d306b68566e4a5c2a778d19db8 (diff)
downloadsway-d447460c0153a76a0bc484bb9866cef658b3102f.tar.xz
Merge pull request #1755 from emersion/view-child-hidpi
Send surface enter/leave events to view children
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 6b2d279e..611c4f0b 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -28,6 +28,8 @@ struct sway_view_impl {
void (*configure)(struct sway_view *view, double ox, double oy, int width,
int height);
void (*set_activated)(struct sway_view *view, bool activated);
+ void (*for_each_surface)(struct sway_view *view,
+ wlr_surface_iterator_func_t iterator, void *user_data);
void (*close)(struct sway_view *view);
void (*destroy)(struct sway_view *view);
};
@@ -159,6 +161,9 @@ void view_damage_whole(struct sway_view *view);
void view_damage_from(struct sway_view *view);
+void view_for_each_surface(struct sway_view *view,
+ wlr_surface_iterator_func_t iterator, void *user_data);
+
// view implementation
void view_init(struct sway_view *view, enum sway_view_type type,