aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/input.c b/input.c
index a035983a..ea344c99 100644
--- a/input.c
+++ b/input.c
@@ -846,6 +846,9 @@ wl_pointer_enter(void *data, struct wl_pointer *wl_pointer,
LOG_DBG("pointer-enter: pointer=%p, serial=%u, surface = %p, new-moused = %p",
wl_pointer, serial, surface, term);
+ /* Scale may have changed */
+ wayl_reload_xcursor_theme(seat, term->scale);
+
seat->mouse_focus = term;
int x = wl_fixed_to_int(surface_x) * term->scale;