Skip to content
Commit 051a0efc authored by Peter Hutterer's avatar Peter Hutterer Committed by Olivier Fourdan
Browse files

dix: check_modmap_change() returns Success, not true



Not sure what if anything calls XSetDeviceModifierMapping() but this would've
failed all the time. check_modmap_change() returns Success but we were
treating it like a boolean. Fix this.

Reported-by: default avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
(cherry picked from commit 4fe02b8d)
parent 1508ea68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment