You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would evaluate to TRUE when gdk_device_get_device_type returns values > 0, since GDK_DEVICE_TYPE_MASTER is 0.
If this is correct, maybe better write as gdk_device_get_device_type(device) != GDK_DEVICE_TYPE_MASTER) or !(gdk_device_get_device_type(device) == GDK_DEVICE_TYPE_MASTER).
The text was updated successfully, but these errors were encountered:
I did not notice any actual misbehavior, but the following code seems odd:
callbacks.c: 578:
same again on line 664 (on_device_added).
This would evaluate to TRUE when gdk_device_get_device_type returns values > 0, since GDK_DEVICE_TYPE_MASTER is 0.
If this is correct, maybe better write as
gdk_device_get_device_type(device) != GDK_DEVICE_TYPE_MASTER)
or!(gdk_device_get_device_type(device) == GDK_DEVICE_TYPE_MASTER)
.The text was updated successfully, but these errors were encountered: