aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-04-28 14:56:03 +0200
committermarha <marha@users.sourceforge.net>2013-04-28 14:56:03 +0200
commitd8244e38b6a0fc48715644b673a41f052a7546ee (patch)
treeb4595556d83fc6181b5246c415e59d02d9c26a24
parent97c805b58a590c43f1347c3fd72fcb65207e24b4 (diff)
downloadvcxsrv-d8244e38b6a0fc48715644b673a41f052a7546ee.tar.gz
vcxsrv-d8244e38b6a0fc48715644b673a41f052a7546ee.tar.bz2
vcxsrv-d8244e38b6a0fc48715644b673a41f052a7546ee.zip
Changed static variable to local variable
-rw-r--r--xorg-server/mi/mieq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/mi/mieq.c b/xorg-server/mi/mieq.c
index d7d73deb6..b2f8bcf1e 100644
--- a/xorg-server/mi/mieq.c
+++ b/xorg-server/mi/mieq.c
@@ -60,7 +60,7 @@ in this Software without prior written authorization from The Open Group.
#endif
/* Maximum size should be initial size multiplied by a power of 2 */
-#define QUEUE_INITIAL_SIZE 256
+#define QUEUE_INITIAL_SIZE 1024
#define QUEUE_RESERVED_SIZE 64
#define QUEUE_MAXIMUM_SIZE 4096
#define QUEUE_DROP_BACKTRACE_FREQUENCY 100
@@ -572,7 +572,7 @@ mieqProcessInputEvents(void)
{
EventRec *e = NULL;
ScreenPtr screen;
- static InternalEvent event;
+ InternalEvent event;
DeviceIntPtr dev = NULL, master = NULL;
size_t n_enqueued;