mirror of
https://github.com/brl/mutter.git
synced 2024-12-22 19:12:04 +00:00
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:
parent
cc4e007148
commit
371e5df568
@ -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.");
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user