aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/view.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-01-16 07:50:40 -0500
committerTony Crisci <tony@dubstepdish.com>2018-01-16 07:51:10 -0500
commit3751a1732158546c4fbc203aa34fc4a4a68f1016 (patch)
treeb658695973fe615e5420b92106403b56342247af /include/rootston/view.h
parentdc701b72fc579776cf10bf7d5ec91c033f9bec8e (diff)
decorate xwayland views
Diffstat (limited to 'include/rootston/view.h')
-rw-r--r--include/rootston/view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h
index 579b148a..a18eda8f 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -61,6 +61,10 @@ struct roots_view {
double x, y;
float rotation;
+ bool decorated;
+ int border_width;
+ int titlebar_height;
+
bool maximized;
struct roots_output *fullscreen_output;
struct {
@@ -113,6 +117,7 @@ struct roots_view {
};
void view_get_box(const struct roots_view *view, struct wlr_box *box);
+void view_get_deco_box(const struct roots_view *view, struct wlr_box *box);
void view_activate(struct roots_view *view, bool active);
void view_move(struct roots_view *view, double x, double y);
void view_resize(struct roots_view *view, uint32_t width, uint32_t height);