aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'wayland.c')
-rw-r--r--wayland.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wayland.c b/wayland.c
index cbd49179..380cc526 100644
--- a/wayland.c
+++ b/wayland.c
@@ -849,12 +849,12 @@ wayl_cursor_set(struct wayland *wayl, const struct terminal *term)
if (wayl->pointer.theme == NULL)
return false;
- if (wayl->moused == NULL) {
+ if (wayl->mouse_focus == NULL) {
wayl->pointer.xcursor = NULL;
return true;
}
- if (wayl->moused != term) {
+ if (wayl->mouse_focus != term) {
/* This terminal doesn't have mouse focus */
return true;
}