diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-09-02 18:53:34 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-09-18 10:10:07 +0200 |
commit | 99635ea0d8918350fc740ce6d00bc46f0d771eb6 (patch) | |
tree | 15e45d7c0ab7ae053008ca6a7c4689fb982f45ae /include/vcl | |
parent | 375534d4700379ad052a85d334b2e6e1c7c3cba5 (diff) |
opengl: Don't cache the menubar background.
It can change based on the _toolbar_ size. The toolbar itself is fine though;
it may depend on the menubar size, but that should be constant.
Change-Id: Id2c68c89f4ec0774bc74b8c4a5b9a5e59e22137f
Reviewed-on: https://gerrit.libreoffice.org/18279
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/salnativewidgets.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index fb128d380d4e..cc5db6ffb694 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -287,6 +287,12 @@ public: case CTRL_CHECKBOX: case CTRL_RADIOBUTTON: return false; + + case CTRL_MENUBAR: + if (mnPart == PART_ENTIRE_CONTROL) + return false; + break; + default: break; } |