diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-14 15:49:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-14 15:55:55 +0100 |
commit | 8f324aebfb94c4b2023894121b954ad4f35eb395 (patch) | |
tree | 2b48ac0155521b3d18c9867d0deb76aca8ae4d87 /vcl/source/app/salvtables.cxx | |
parent | 7bf9ab8e4ece6faf2dc85e62e95ee5a9b5585a6e (diff) |
Resolves: tdf#91393 autotext (etc) not fully drawn
the paint timer is activating after we ask gtk to
size the window but before we/gtk get the ConfigureNotify
that updates gtk knowledge of the size. So the gtk drawing
calls are clipped to the previous ConfigureNotify size.
So, lets try postponing paints if we have set a size but
not received a configure notify yet
I'll also revert e6a1956034c98204e30b0ca40330249d6f6f8155
in favour of this attempt
Change-Id: If5e993f8e0e65053b59234fce0785398b93c1c46
Diffstat (limited to 'vcl/source/app/salvtables.cxx')
-rw-r--r-- | vcl/source/app/salvtables.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index c51f4f60d954..7a68df22197d 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -29,7 +29,12 @@ #include <salmenu.hxx> -SalFrame::SalFrame() : m_pWindow( NULL ), m_pProc( NULL ) {} +SalFrame::SalFrame() + : m_bAwaitingSizeConfirmation(false) + , m_pWindow(NULL) + , m_pProc(NULL) +{ +} // this file contains the virtual destructors of the sal interface // compilers usually put their vtables where the destructor is |