summaryrefslogtreecommitdiff
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorNicolas Braud-Santoni <[email protected]>2018-05-05 20:42:17 +0200
committerGitHub <[email protected]>2018-05-05 20:42:17 +0200
commit30c00b26966d8bdd491e808604b7da87ec89f679 (patch)
treed508d2e5999e6f258b49e6698fcc874ba03ca8b6 /include/sway/tree/view.h
parentcb2a3e90360ed852f3ee46dfef3d28e69f4c3346 (diff)
parenta8d1b05bac4cee56731d7e4aaafdcd0acd6bb787 (diff)
Merge branch 'master' into spelling
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 21127ab1..9d4256f7 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -48,6 +48,7 @@ struct sway_view {
bool is_fullscreen;
+ char *title_format;
enum sway_container_border border;
int border_thickness;
@@ -164,6 +165,8 @@ const char *view_get_class(struct sway_view *view);
const char *view_get_instance(struct sway_view *view);
+const char *view_get_type(struct sway_view *view);
+
void view_configure(struct sway_view *view, double ox, double oy, int width,
int height);
@@ -207,4 +210,11 @@ void view_child_init(struct sway_view_child *child,
void view_child_destroy(struct sway_view_child *child);
+/**
+ * Re-read the view's title property and update any relevant title bars.
+ * The force argument makes it recreate the title bars even if the title hasn't
+ * changed.
+ */
+void view_update_title(struct sway_view *view, bool force);
+
#endif