summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/window
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-21 23:15:34 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-22 01:30:19 +0200
commit5ebe002488dd179180b4c6b1a78a89da4e13c0f2 (patch)
tree4b0856dd3788aa51c06eee6875ee59c5b70f9109 /vcl/unx/generic/window
parentcabc06e510214b3c11ded790b9e4eb63b986eef9 (diff)
Kill DtIntegrator
Do settings directly at UpdateSettings without DtIntegrator. This is like it's done with kde, windows, aqua,... See vcl/unx/kde/salnativewidgets-kde.cxx
Diffstat (limited to 'vcl/unx/generic/window')
-rw-r--r--vcl/unx/generic/window/salframe.cxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index f925a6543259..fc16a90605ae 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -60,7 +60,6 @@
#include "unx/salgdi.h"
#include "unx/salframe.h"
#include "unx/soicon.hxx"
-#include "unx/dtint.hxx"
#include "unx/sm.hxx"
#include "unx/wmadaptor.hxx"
#include "unx/salprn.h"
@@ -2663,13 +2662,9 @@ inline Color getColorFromLong( long nColor )
void X11SalFrame::UpdateSettings( AllSettings& rSettings )
{
-
- DtIntegrator* pIntegrator = GetDisplay()->getDtIntegrator();
-#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "DtIntegrator: %d\n", pIntegrator ? pIntegrator->GetDtType() : -1 );
-#endif
- if( pIntegrator )
- pIntegrator->GetSystemLook( rSettings );
+ StyleSettings aStyleSettings = rSettings.GetStyleSettings();
+ aStyleSettings.SetCursorBlinkTime( 500 );
+ rSettings.SetStyleSettings( aStyleSettings );
}
void X11SalFrame::CaptureMouse( sal_Bool bCapture )