diff options
author | Adam Tkac <atkac@redhat.com> | 2009-08-28 12:03:11 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2009-08-28 12:03:11 +0000 |
commit | a7c223a2dc036f2ecb2c2045dd96237ca306a7a2 (patch) | |
tree | a849f0ea8ed92f796c91b9987f38c6ffcc2980b3 /unix | |
parent | a5a8382f8f01f8b44fc445744bf7226e709a705f (diff) | |
download | tigervnc-a7c223a2dc036f2ecb2c2045dd96237ca306a7a2.tar.gz tigervnc-a7c223a2dc036f2ecb2c2045dd96237ca306a7a2.zip |
Initialize eventq in all cases.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3885 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix')
-rw-r--r-- | unix/xserver/hw/vnc/XserverDesktop.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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 /* |