Commit 5810d079 authored by Committed by Peter Hutterer
Fix logic in _XIAllowEvents and prevent double unlock.
Replacing the second _XiCheckExtInit with _XiCheckVersion prevents possible double unlock as _XiCheckExtInit actually unlocks the display when it returns -1. Signed-off-by: Michal Srb <firstname.lastname@example.org> Signed-off-by: Peter Hutterer <email@example.com>
Showing with 2 additions and 2 deletions