mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-01 01:04:01 +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:
@@ -486,6 +486,9 @@ GetMaximumEventsNum(void) {
|
||||
#endif
|
||||
ret *= 2;
|
||||
|
||||
/* One possible DeviceClassesChangedEvent */
|
||||
ret++;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user