Commit 371e5df5 authored by Jonas Ådahl's avatar Jonas Ådahl

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.
parent cc4e0071
......@@ -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.");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment