From 6947928a7ff1c983a9915831c76fd0413eccb351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 29 Nov 2019 22:12:54 +0100 Subject: [PATCH] input: pointer-enter: add debug log --- input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/input.c b/input.c index 07b9d551..0816e0ad 100644 --- a/input.c +++ b/input.c @@ -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;