Minor bugfixes

This commit is contained in:
Drew DeVault 2018-03-30 18:28:21 -04:00
parent e3eb487dc2
commit 168f65fb7a
2 changed files with 3 additions and 1 deletions

View file

@ -157,6 +157,7 @@ static void wl_pointer_enter(void *data, struct wl_pointer *wl_pointer,
static void wl_pointer_leave(void *data, struct wl_pointer *wl_pointer,
uint32_t serial, struct wl_surface *surface) {
cur_x = cur_y = -1;
buttons = 0;
}
static void wl_pointer_motion(void *data, struct wl_pointer *wl_pointer,