diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2014-09-21 16:06:52 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2014-09-21 17:06:45 +0300 |
commit | 7d860f6134654c2f46ceebb1ca1a792c143af795 (patch) | |
tree | fabe6d8c6ff858bdd84af5c974d11257fa569466 /vcl | |
parent | 8419d672198a1af988269f71988416ec46e3f39c (diff) |
WB_OWNERDRAWDECORATION is needed by toolbar popups
Can be tested with the new color popup. Without this
change it keeps itself on top of other windows, and
even if the main window lost focus. Also for some vcl
plugins the popup have a wrong placement.
Change-Id: Ibf4216683ce2c58a1b919cdb63eda964a764eefd
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 8a367132d517..0bfc4e737ee2 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -945,7 +945,7 @@ namespace if (sType == "utility") nBits |= WB_SYSTEMWINDOW | WB_DIALOGCONTROL | WB_MOVEABLE; else if (sType == "popup-menu") - nBits |= WB_SYSTEMWINDOW | WB_DIALOGCONTROL | WB_POPUP; + nBits |= WB_SYSTEMWINDOW | WB_DIALOGCONTROL | WB_POPUP | WB_OWNERDRAWDECORATION; else nBits |= WB_MOVEABLE; return nBits; |