diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-10-27 20:00:25 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-10 07:58:19 +0100 |
commit | 566afff9ba2c77f5f8ac4bed3cd56198e7b73c82 (patch) | |
tree | 7ec1bab3488517accc699d16cc25d0b0327a16db /vcl | |
parent | 14b6650ff7c4227bce28adf4ad3e70dc2007ab8c (diff) |
make sure that the frame is set when we need it
Change-Id: I1a7a346a53a6ffe409a69e7678b000f2ecafd199
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/gdi/salgdi.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx index 94d03a90918b..7e4100ba84ff 100644 --- a/vcl/unx/generic/gdi/salgdi.cxx +++ b/vcl/unx/generic/gdi/salgdi.cxx @@ -169,10 +169,10 @@ void X11SalGraphics::Init( SalFrame *pFrame, Drawable aTarget, { m_pColormap = &GetGenericData()->GetSalDisplay()->GetColormap(nXScreen); m_nXScreen = nXScreen; + m_pFrame = pFrame; SetDrawable( aTarget, nXScreen ); bWindow_ = true; - m_pFrame = pFrame; m_pVDev = NULL; } |