mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-04 22:36:10 +00:00
dix: fix GetMaximumEventsNum(), may return a DCCE event too.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
parent
85d84c7cf2
commit
e670fd8896
1 changed files with 3 additions and 0 deletions
|
|
@ -486,6 +486,9 @@ GetMaximumEventsNum(void) {
|
||||||
#endif
|
#endif
|
||||||
ret *= 2;
|
ret *= 2;
|
||||||
|
|
||||||
|
/* One possible DeviceClassesChangedEvent */
|
||||||
|
ret++;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue