summaryrefslogtreecommitdiff
path: root/gui/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/input.c')
-rw-r--r--gui/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/input.c b/gui/input.c
index eb9309d..f75ea3d 100644
--- a/gui/input.c
+++ b/gui/input.c
@@ -107,7 +107,7 @@ static gboolean motion_notify_event(GtkWidget *widget, GdkEventMotion *event,
break;
/* Caution: hover_update may switch input layers */
- if (sp->ops->hover_update(sp->user, event->x, event->y) &&
+ if (!sp->ops->hover_update(sp->user, event->x, event->y) &&
sp == old_sp) {
sp->state = input_idle;
if (sp->ops->hover_end)