[Libreoffice-commits] core.git: vcl/source

Maxim Monastirsky momonasmon at gmail.com
Sun Sep 21 07:10:36 PDT 2014


 vcl/source/window/builder.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7d860f6134654c2f46ceebb1ca1a792c143af795
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Sun Sep 21 16:06:52 2014 +0300

    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

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 8a36713..0bfc4e7 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;


More information about the Libreoffice-commits mailing list