mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
tinywl: remove unused variables
This commit is contained in:
parent
ad28f57533
commit
9d650a7c1a
1 changed files with 0 additions and 3 deletions
|
@ -311,8 +311,6 @@ static bool view_at(struct tinywl_view *view,
|
||||||
double view_sx = lx - view->x;
|
double view_sx = lx - view->x;
|
||||||
double view_sy = ly - view->y;
|
double view_sy = ly - view->y;
|
||||||
|
|
||||||
struct wlr_surface_state *state = &view->xdg_surface->surface->current;
|
|
||||||
|
|
||||||
double _sx, _sy;
|
double _sx, _sy;
|
||||||
struct wlr_surface *_surface = NULL;
|
struct wlr_surface *_surface = NULL;
|
||||||
_surface = wlr_xdg_surface_surface_at(
|
_surface = wlr_xdg_surface_surface_at(
|
||||||
|
@ -476,7 +474,6 @@ static void server_cursor_button(struct wl_listener *listener, void *data) {
|
||||||
wlr_seat_pointer_notify_button(server->seat,
|
wlr_seat_pointer_notify_button(server->seat,
|
||||||
event->time_msec, event->button, event->state);
|
event->time_msec, event->button, event->state);
|
||||||
double sx, sy;
|
double sx, sy;
|
||||||
struct wlr_seat *seat = server->seat;
|
|
||||||
struct wlr_surface *surface;
|
struct wlr_surface *surface;
|
||||||
struct tinywl_view *view = desktop_view_at(server,
|
struct tinywl_view *view = desktop_view_at(server,
|
||||||
server->cursor->x, server->cursor->y, &surface, &sx, &sy);
|
server->cursor->x, server->cursor->y, &surface, &sx, &sy);
|
||||||
|
|
Loading…
Reference in a new issue