~sircmpwn/public-inbox

General catch-all for patches, questions, and discussions for sircmpwn's projects that don't have their own mailing list.

When posting patches to this list, please edit the [PATCH] line to include the specific project you're contributing to, e.g.

[PATCH scdoc v2] Add thing to stuff

Patches

1 2

[PATCH tinywl] view_at: remove unused variable

Details
Message ID
<20181127202602.12158-1-louis@kragniz.eu>
Download raw message
Patch +0 -4
---
 tinywl.c | 4 ----
 1 file changed, 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;
-- 
2.19.2
Details
Message ID
<20181128023641.GA5662@homura.localdomain>
In-Reply-To
<20181127202602.12158-1-louis@kragniz.eu> (view parent)
Download raw message
Thanks!

To git.sr.ht:~sircmpwn/tinywl
   5e44d3b..8730049  master -> master