diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-16 21:30:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-17 09:11:38 +0000 |
commit | 016730421e5e58415170b464bf9d9ca47d6c3b4e (patch) | |
tree | bd0f6dff682cdbd45101f0982390640e9e1806ea /vcl/win | |
parent | 3d3e95d68557e93224ebdf75a2ac56acf42e7d44 (diff) |
remove newly unused WB_NEEDSFOCUS and fragile FLOAT_FOCUSABLE
Change-Id: Idce03318fbc01039a6c0638879785607970993c0
Reviewed-on: https://gerrit.libreoffice.org/20746
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/window/salframe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index 4b873a96ec74..fa5357226ffb 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -371,11 +371,11 @@ SalFrame* ImplSalCreateFrame( WinSalInstance* pInst, nExSysStyle |= WS_EX_TOOLWINDOW; pFrame->mbFloatWin = TRUE; - if ( (pEnvTransparentFloats /* does not work remote! || (nSalFrameStyle & SalFrameStyleFlags::FLOAT_FOCUSABLE) */ ) ) + if (pEnvTransparentFloats) nExSysStyle |= WS_EX_LAYERED; } - if( (nSalFrameStyle & SalFrameStyleFlags::TOOLTIP) || (nSalFrameStyle & SalFrameStyleFlags::FLOAT_FOCUSABLE) ) + if (nSalFrameStyle & SalFrameStyleFlags::TOOLTIP) nExSysStyle |= WS_EX_TOPMOST; // init frame data |