aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-01-21 09:09:53 -0500
committerFurkan Sahin <furkan-dev@proton.me>2018-01-21 09:09:53 -0500
commit592499e9c32ceff95e525f3a994e25079e21bdd6 (patch)
treed6624a2fa66f344d9db09e43af0fb293f2ab2d3a /include
parent1200391a5928419afbc26934ef679b84adcfdbf1 (diff)
view interface
Diffstat (limited to 'include')
-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 {
struct wl_list unmanaged_view_link; // sway_root::unmanaged views
};
+const char *view_get_title(struct sway_view *view);
+
+const char *view_get_app_id(struct sway_view *view);
+
+const char *view_get_class(struct sway_view *view);
+
+const char *view_get_instance(struct sway_view *view);
+
+void view_set_size(struct sway_view *view, int width, int height);
+
+void view_set_position(struct sway_view *view, double ox, double oy);
+
+void view_set_activated(struct sway_view *view, bool activated);
+
+void view_close(struct sway_view *view);
+
#endif