[Libreoffice-commits] .: vcl/win
Jan Holesovsky
kendy at kemper.freedesktop.org
Mon May 7 09:20:22 PDT 2012
vcl/win/source/window/salframe.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 05597378a1f8aa5ff691d7e4b61cdb70b797cb6a
Author: Jan Holesovsky <kendy at suse.cz>
Date: Mon May 7 18:19:37 2012 +0200
Added a fixme.
Change-Id: I303a750058039a4df5a237c823178c8a065f04a4
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 3cb870b..aae5999 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 )
{
More information about the Libreoffice-commits
mailing list