diff options
Diffstat (limited to 'include/sway/view.h')
-rw-r--r-- | include/sway/view.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/sway/view.h b/include/sway/view.h index 08c5480b..ac33e11a 100644 --- a/include/sway/view.h +++ b/include/sway/view.h | |||
@@ -92,10 +92,27 @@ struct sway_view { | |||
92 | void (*set_position)(struct sway_view *view, | 92 | void (*set_position)(struct sway_view *view, |
93 | double ox, double oy); | 93 | double ox, double oy); |
94 | void (*set_activated)(struct sway_view *view, bool activated); | 94 | void (*set_activated)(struct sway_view *view, bool activated); |
95 | void (*close)(struct sway_view *view); | ||
95 | } iface; | 96 | } iface; |
96 | 97 | ||
97 | // only used for unmanaged views (shell specific) | 98 | // only used for unmanaged views (shell specific) |
98 | struct wl_list unmanaged_view_link; // sway_root::unmanaged views | 99 | struct wl_list unmanaged_view_link; // sway_root::unmanaged views |
99 | }; | 100 | }; |
100 | 101 | ||
102 | const char *view_get_title(struct sway_view *view); | ||
103 | |||
104 | const char *view_get_app_id(struct sway_view *view); | ||
105 | |||
106 | const char *view_get_class(struct sway_view *view); | ||
107 | |||
108 | const char *view_get_instance(struct sway_view *view); | ||
109 | |||
110 | void view_set_size(struct sway_view *view, int width, int height); | ||
111 | |||
112 | void view_set_position(struct sway_view *view, double ox, double oy); | ||
113 | |||
114 | void view_set_activated(struct sway_view *view, bool activated); | ||
115 | |||
116 | void view_close(struct sway_view *view); | ||
117 | |||
101 | #endif | 118 | #endif |