From: Adam Tkac Date: Fri, 28 Aug 2009 12:03:11 +0000 (+0000) Subject: Initialize eventq in all cases. X-Git-Tag: v1.0.90~394 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a7c223a2dc036f2ecb2c2045dd96237ca306a7a2;p=tigervnc.git Initialize eventq in all cases. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3885 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc index d6fe9938..533f31bd 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.cc +++ b/unix/xserver/hw/vnc/XserverDesktop.cc @@ -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 /*