Eh, allow to build with the latest wlroots git, so as not to cause GitHub's build to fail

This commit is contained in:
Keith Bowes 2022-02-02 20:50:58 -05:00
parent 4c96f5eada
commit 0b14c71dbb
2 changed files with 2 additions and 4 deletions

View file

@ -116,7 +116,7 @@ static void handle_cursor_button(struct wl_listener *listener, void *data) {
wlr_seat_pointer_notify_button(cursor->server->seat->seat,
event->time_msec, event->button, event->state);
double sx, sy;
struct wlr_surface *surface;
struct wlr_surface *surface = NULL;
struct wb_view *view = desktop_view_at(cursor->server,
cursor->server->cursor->cursor->x, cursor->server->cursor->cursor->y, &surface, &sx, &sy);
if (event->state == WLR_BUTTON_RELEASED) {