1
0
Fork 0

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
This commit is contained in:
Jonas Ådahl 2018-01-24 12:15:27 +08:00
parent cc4e007148
commit 371e5df568

View file

@ -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.");
/*