aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-02 14:58:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-02 14:58:52 +0000
commit4ecb0ecf4d1f45df918a8dd2dbabd6e9d7090dcc (patch)
treed86d230522b0386d2a412d5212f3283f8b4828b2 /wayland.c
parentREADME: add missing '+' in keyboard shortcut ctrl+shift+w (diff)
wayland: rename focused/moused to kbd_focus/mouse_focus
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;
}