summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/window
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-30 12:42:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-30 12:43:19 +0100
commit2e423dac20da37bd0bb4c24da47e0472888466ad (patch)
tree5b3f53c276334ef1308304d0dfcbad9b276b9625 /vcl/unx/generic/window
parent5d10090c0a98d1df7fd852305ed620a7348c5d10 (diff)
Related: moz#424333 pixmaps are limited to max signed short
Change-Id: I88cfd9592e11aa7dbe704df4810090b6a1ce4c66
Diffstat (limited to 'vcl/unx/generic/window')
-rw-r--r--vcl/unx/generic/window/salframe.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index 43f6acd3b2d0..549616ca8c17 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -66,6 +66,7 @@
#include "unx/i18n_ic.hxx"
#include "unx/i18n_keysym.hxx"
#include "unx/i18n_status.hxx"
+#include <unx/x11/xlimits.hxx>
#include "generic/gensys.h"
#include "sallayout.hxx"
@@ -873,7 +874,7 @@ void X11SalFrame::SetBackgroundBitmap( SalBitmap* pBitmap )
if( aSize.Width() && aSize.Height() )
{
mhBackgroundPixmap =
- XCreatePixmap( GetXDisplay(),
+ limitXCreatePixmap( GetXDisplay(),
GetWindow(),
aSize.Width(),
aSize.Height(),