aboutsummaryrefslogtreecommitdiff
path: root/tinywl
diff options
context:
space:
mode:
authorLouis Taylor <louis@kragniz.eu>2018-11-27 20:26:02 +0000
committerDrew DeVault <sir@cmpwn.com>2018-11-27 21:36:24 -0500
commitb3f51e39f80c2a8ec44184d95bd3719ce5ba137e (patch)
treecfee201efd8d44cc24d4a1a30388d923edf4ff2c /tinywl
parentb1d820c492de873264cd954111b7d04389f40cb4 (diff)
view_at: remove unused variable
Diffstat (limited to 'tinywl')
-rw-r--r--tinywl/tinywl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c
index bf98495d..6a63e03d 100644
--- a/tinywl/tinywl.c
+++ b/tinywl/tinywl.c
@@ -251,10 +251,6 @@ static bool view_at(struct tinywl_view *view,
double view_sy = ly - view->y;
struct wlr_surface_state *state = &view->xdg_surface->surface->current;
- struct wlr_box box = {
- .x = 0, .y = 0,
- .width = state->width, .height = state->height,
- };
double _sx, _sy;
struct wlr_surface *_surface = NULL;