diff options
author | Michal Srb <msrb@suse.com> | 2014-11-01 20:00:56 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-11-03 15:28:36 +1000 |
commit | 5810d0797160a97012664ffe719a59e1b288a525 (patch) | |
tree | aaca3d0d0a62670bcdb5d1f17bdb83480ed8a8cb /src/XGetVers.c | |
parent | f699770e7c92da1dbf16892fde83438f0b79c979 (diff) |
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 <msrb@suse.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/XGetVers.c')
0 files changed, 0 insertions, 0 deletions