]> source.dussan.org Git - tigervnc.git/commitdiff
Initialize eventq in all cases.
authorAdam Tkac <atkac@redhat.com>
Fri, 28 Aug 2009 12:03:11 +0000 (12:03 +0000)
committerAdam Tkac <atkac@redhat.com>
Fri, 28 Aug 2009 12:03:11 +0000 (12:03 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3885 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/XserverDesktop.cc

index d6fe9938d5f2960554f17e3a678dfc07c85832c7..533f31bd2099fd43983bf2b923810d90e165a91d 100644 (file)
@@ -203,6 +203,8 @@ XserverDesktop::XserverDesktop(ScreenPtr pScreen_,
     eventq = (xEvent *) xcalloc(sizeof(xEvent), GetMaximumEventsNum());
   if (!eventq)
     FatalError("Couldn't allocate eventq\n");
+#else
+  GetEventList(&eventq);
 #endif
 
   /*