aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-28 09:11:16 -0400
committerDrew DeVault <sir@cmpwn.com>2017-09-28 09:11:16 -0400
commit220a6e9bf637471f3f5e392d3c3fb76ae9b7e138 (patch)
treedfd4c5b7186f9cb260046f58c7f02848822a757a /rootston/desktop.c
parent906a816abf812445ec9e514e6115872632fb3ee1 (diff)
Add xwayland activate and fix EGL bug
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index 0224dd19..697c83df 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -23,6 +23,8 @@ void view_get_input_bounds(struct roots_view *view, struct wlr_box *box) {
return;
}
box->x = box->y = 0;
+ box->width = view->wlr_surface->current.width;
+ box->height = view->wlr_surface->current.height;
}
void view_activate(struct roots_view *view, bool activate) {