summaryrefslogtreecommitdiff
path: root/dix/globals.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-03-12 13:51:02 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-03-22 13:12:56 +1000
commit6aef209ebc2e54f5465da505a780f7b4cc273ee0 (patch)
tree13798842bcc4ba3e2fef224bf6f74d7f86d26b7b /dix/globals.c
parent20cf0ef825e3f14b0688b691691e0aeba0a4860a (diff)
Change lastDeviceIdleTime to be per-device
Preparation work for per-device idle counters. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: James Jones <jajones@nvidia.com>
Diffstat (limited to 'dix/globals.c')
-rw-r--r--dix/globals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/globals.c b/dix/globals.c
index c0cae159a..a564575f3 100644
--- a/dix/globals.c
+++ b/dix/globals.c
@@ -122,7 +122,7 @@ Bool party_like_its_1989 = FALSE;
Bool whiteRoot = FALSE;
TimeStamp currentTime;
-TimeStamp lastDeviceEventTime;
+TimeStamp lastDeviceEventTime[MAXDEVICES];
int defaultColorVisualClass = -1;
int monitorResolution = 0;