diff options
-rw-r--r-- | vcl/unx/generic/app/saldisp.cxx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx index d96fd205fd41..d7231e07fd87 100644 --- a/vcl/unx/generic/app/saldisp.cxx +++ b/vcl/unx/generic/app/saldisp.cxx @@ -238,10 +238,22 @@ bool SalDisplay::BestVisual( Display *pDisplay, } SalDisplay::SalDisplay( Display *display ) : + pXLib_( NULL ), mpInputMethod( NULL ), + mpKbdExtension( NULL ), + mpFactory( NULL ), pDisp_( display ), m_nXDefaultScreen( 0 ), + nMaxRequestSize_( 0 ), + meServerVendor( vendor_unknown ), + bNumLockFromXS_( false ), + nNumLockIndex_( 0 ), + nNumLockMask_( 0 ), + nShiftKeySym_( 0 ), + nCtrlKeySym_( 0 ), + nMod1KeySym_( 0 ), m_pWMAdaptor( NULL ), + m_bXinerama( false ), m_bUseRandRWrapper( true ), m_nLastUserEventTime( CurrentTime ) { @@ -250,7 +262,6 @@ SalDisplay::SalDisplay( Display *display ) : #endif SalGenericData *pData = GetGenericData(); - pXLib_ = NULL; DBG_ASSERT( ! pData->GetDisplay(), "Second SalDisplay created !!!\n" ); pData->SetDisplay( this ); |