summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/win/source/window/salframe.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 3cb870baad2e..aae5999896fd 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -2704,6 +2704,10 @@ static HRESULT WINAPI backwardCompatibleDwmIsCompositionEnabled( BOOL* pOut )
static BOOL ImplDwmIsCompositionEnabled()
{
+ // FIXME It seems that this wrong advice to use 'DwmIsCompositionEnabled'
+ // is widely spread; causing LO to not theme menus when running in
+ // rdesktop. We should beter use IsThemeActive() from uxtheme.dll.
+ // But the entire ::UpdateSettings() need a rework anyway ;-)
SalData* pSalData = GetSalData();
if( ! pSalData->mpDwmIsCompositionEnabled )
{