From 371e5df5688677f0eab0f9a9a1ace2aaccd44cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 24 Jan 2018 12:15:27 +0800 Subject: [PATCH] remote-desktop-session: Don't always warn about axis steps The condition for warning was wrong, causing it to always warn no matter the input. https://bugzilla.gnome.org/show_bug.cgi?id=792062 --- src/backends/meta-remote-desktop-session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/meta-remote-desktop-session.c b/src/backends/meta-remote-desktop-session.c index 468747572..e0519c714 100644 --- a/src/backends/meta-remote-desktop-session.c +++ b/src/backends/meta-remote-desktop-session.c @@ -392,7 +392,7 @@ handle_notify_pointer_axis_discrete (MetaDBusRemoteDesktopSession *skeleton, return TRUE; } - if (steps != -1 || steps != 1) + if (steps != -1 && steps != 1) g_warning ("Multiple steps at at once not yet implemented, treating as one."); /*