summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Taylor <[email protected]>2018-11-27 20:26:02 +0000
committerDrew DeVault <[email protected]>2018-11-27 21:36:24 -0500
commit87300491f85b8f137bd2ba31f02efd05aa2d7724 (patch)
tree0a744b82164604ca525d51428065ba768ab6eac0
parent5e44d3b49815ea1badf3276b763bb6eb5a2c00b9 (diff)
view_at: remove unused variable
-rw-r--r--tinywl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tinywl.c b/tinywl.c
index bf98495..6a63e03 100644
--- a/tinywl.c
+++ b/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;