mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-15 22:05:24 -05:00
input: pointer-enter: add debug log
This commit is contained in:
parent
6b9837056e
commit
6947928a7f
1 changed files with 2 additions and 0 deletions
2
input.c
2
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue