aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-29 21:12:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-29 21:12:54 +0000
commit6947928a7ff1c983a9915831c76fd0413eccb351 (patch)
treecfda65efe5bd80c9406ca448bc15153065483cb0
parentinput: keyboard_leave: reset focused *before* doing anything else (diff)
input: pointer-enter: add debug log
-rw-r--r--input.c2
1 files changed, 2 insertions, 0 deletions
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;