]> source.dussan.org Git - tigervnc.git/commitdiff
Adding missing initialization of new member variables
authorHenrik Andersson <henrik.andersson@cendio.com>
Wed, 14 Sep 2011 08:33:15 +0000 (08:33 +0000)
committerHenrik Andersson <henrik.andersson@cendio.com>
Wed, 14 Sep 2011 08:33:15 +0000 (08:33 +0000)
introduced in commit r4670.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4671 3789f03b-4d11-0410-bbf8-ca57d06f2519

vncviewer/Viewport.cxx

index 5fd873cbdb96d53f6da9e75b0c1fc95a99419b60..10131c1cf443046fb69cefd5cc207c638594ab1e 100644 (file)
@@ -69,7 +69,7 @@ enum { ID_EXIT, ID_FULLSCREEN, ID_CTRL, ID_ALT, ID_MENUKEY, ID_CTRLALTDEL,
 Viewport::Viewport(int w, int h, const rfb::PixelFormat& serverPF, CConn* cc_)
   : Fl_Widget(0, 0, w, h), cc(cc_), frameBuffer(NULL), pixelTrans(NULL),
     colourMapChange(false), lastPointerPos(0, 0), lastButtonMask(0),
-    cursor(NULL)
+    cursor(NULL), menuCtrlKey(false), menuAltKey(false)
 {
 // FLTK STR #2599 must be fixed for proper dead keys support
 #ifdef HAVE_FLTK_DEAD_KEYS