aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/view.h
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-01-21 09:09:53 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-01-21 09:09:53 -0500
commit0e3eae4baa7717321ec87cf2c46f6798e89e3ded (patch)
treed6624a2fa66f344d9db09e43af0fb293f2ab2d3a /include/sway/view.h
parentrun all commands with focused container context (diff)
downloadsway-0e3eae4baa7717321ec87cf2c46f6798e89e3ded.tar.gz
sway-0e3eae4baa7717321ec87cf2c46f6798e89e3ded.tar.zst
sway-0e3eae4baa7717321ec87cf2c46f6798e89e3ded.zip
view interface
Diffstat (limited to 'include/sway/view.h')
-rw-r--r--include/sway/view.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/sway/view.h b/include/sway/view.h
index 240ffaa5..ac33e11a 100644
--- a/include/sway/view.h
+++ b/include/sway/view.h
@@ -99,4 +99,20 @@ struct sway_view {
99 struct wl_list unmanaged_view_link; // sway_root::unmanaged views 99 struct wl_list unmanaged_view_link; // sway_root::unmanaged views
100}; 100};
101 101
102const char *view_get_title(struct sway_view *view);
103
104const char *view_get_app_id(struct sway_view *view);
105
106const char *view_get_class(struct sway_view *view);
107
108const char *view_get_instance(struct sway_view *view);
109
110void view_set_size(struct sway_view *view, int width, int height);
111
112void view_set_position(struct sway_view *view, double ox, double oy);
113
114void view_set_activated(struct sway_view *view, bool activated);
115
116void view_close(struct sway_view *view);
117
102#endif 118#endif