mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
remote-desktop: Fix notify axis input validity check
The check was inverted; allowed axis are 0 and 1, not the other way around.
This commit is contained in:
parent
a1517cae1c
commit
9ed236bd67
@ -376,7 +376,7 @@ handle_notify_pointer_axis_discrete (MetaDBusRemoteDesktopSession *skeleton,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (axis <= 1)
|
||||
if (axis > 1)
|
||||
{
|
||||
g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR,
|
||||
G_DBUS_ERROR_FAILED,
|
||||
|
Loading…
Reference in New Issue
Block a user