summaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-07-02 23:06:44 +0100
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-18 10:39:38 +1000
commitb3ee9af0c837bcb48eb30021eaa42c882426e66a (patch)
tree8f2635471aaee001a51e11e922ddb01952ed0f55 /include/sway/tree/view.h
parentMerge pull request #2472 from RyanDwyer/refactor-seat-get-focus (diff)
downloadsway-b3ee9af0c837bcb48eb30021eaa42c882426e66a.tar.gz
sway-b3ee9af0c837bcb48eb30021eaa42c882426e66a.tar.zst
sway-b3ee9af0c837bcb48eb30021eaa42c882426e66a.zip
Add view_get_geometry
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index c2225bcb..1ded601c 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -38,6 +38,7 @@ struct sway_view_impl {
38 const char *(*get_string_prop)(struct sway_view *view, 38 const char *(*get_string_prop)(struct sway_view *view,
39 enum sway_view_prop prop); 39 enum sway_view_prop prop);
40 uint32_t (*get_int_prop)(struct sway_view *view, enum sway_view_prop prop); 40 uint32_t (*get_int_prop)(struct sway_view *view, enum sway_view_prop prop);
41 void (*get_geometry)(struct sway_view *view, struct wlr_box *box);
41 uint32_t (*configure)(struct sway_view *view, double lx, double ly, 42 uint32_t (*configure)(struct sway_view *view, double lx, double ly,
42 int width, int height); 43 int width, int height);
43 void (*set_activated)(struct sway_view *view, bool activated); 44 void (*set_activated)(struct sway_view *view, bool activated);
@@ -285,10 +286,6 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface);
285 286
286void view_unmap(struct sway_view *view); 287void view_unmap(struct sway_view *view);
287 288
288void view_update_position(struct sway_view *view, double lx, double ly);
289
290void view_update_size(struct sway_view *view, int width, int height);
291
292void view_child_init(struct sway_view_child *child, 289void view_child_init(struct sway_view_child *child,
293 const struct sway_view_child_impl *impl, struct sway_view *view, 290 const struct sway_view_child_impl *impl, struct sway_view *view,
294 struct wlr_surface *surface); 291 struct wlr_surface *surface);