This lets us eliminate a bit of redundancy in the clienst where they track
fullscreen state themselves.
}
}
+int
+window_is_fullscreen(struct window *window)
+{
+ return window->type == TYPE_FULLSCREEN;
+}
+
void
window_set_fullscreen(struct window *window, int fullscreen)
{
}
}
+int
+window_is_maximized(struct window *window)
+{
+ return window->type == TYPE_MAXIMIZED;
+}
+
void
window_set_maximized(struct window *window, int maximized)
{
void
window_set_buffer_type(struct window *window, enum window_buffer_type type);
+int
+window_is_fullscreen(struct window *window);
+
void
window_set_fullscreen(struct window *window, int fullscreen);
+int
+window_is_maximized(struct window *window);
+
void
window_set_maximized(struct window *window, int maximized);