input: pointer-enter: add debug log

This commit is contained in:
Daniel Eklöf 2019-11-29 22:12:54 +01:00
parent 6b9837056e
commit 6947928a7f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -441,6 +441,8 @@ wl_pointer_enter(void *data, struct wl_pointer *wl_pointer,
struct wayland *wayl = data;
struct terminal *term = wayl_terminal_from_surface(wayl, surface);
LOG_DBG("pointer-enter: surface = %p, new-moused = %p", surface, term);
wayl->moused = term;
int x = wl_fixed_to_int(surface_x) * term->scale;