diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-10-01 12:19:12 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-10-02 21:01:27 +0200 |
commit | 408dbdd28037917986f6d2cdc290f935ffefc60e (patch) | |
tree | 1721fb4e77cd3d1c1e0c98bd0ac6cec02eb2846d /include/vcl/window.hxx | |
parent | 4e1b526f35abe6a0a01edaa72f9134cb878d4945 (diff) |
tdf#120234 ignore all proxy windows
I thought just border windows can act as proxies, but this bug
proves me wrong; also floating windows set mpClientWindow and may
have an additional nested proxy border window.
Interestingly proxies can have multiple children, which I tested
with a temporary assertion I added!?
So just ignore all proxy windows until we find a real one, And
drop the assertion as it doesn't make sense any more.
I'm just wondering why I always read Child instead of Client...
Change-Id: I83a1a5743b434399aae361cb14058993ba60c83c
Reviewed-on: https://gerrit.libreoffice.org/61196
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'include/vcl/window.hxx')
-rw-r--r-- | include/vcl/window.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index c6e560baeb95..3227d6d6c038 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -555,7 +555,7 @@ public: SalFrame* ImplGetFrame() const; SAL_DLLPRIVATE ImplFrameData* ImplGetFrameData(); - vcl::Window* ImplGetWindow(); + vcl::Window* ImplGetWindow() const; ///< if this is a proxy return the client, otherwise itself SAL_DLLPRIVATE ImplWinData* ImplGetWinData() const; SAL_DLLPRIVATE vcl::Window* ImplGetClientWindow() const; SAL_DLLPRIVATE vcl::Window* ImplGetDlgWindow( sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart = 0, sal_uInt16 nEnd = 0xFFFF, sal_uInt16* pIndex = nullptr ); |