diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-09-14 20:03:39 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-09-15 12:01:13 +0200 |
commit | f6536d875bff70767b5bf389fe2ae34802a6b022 (patch) | |
tree | e644033d124e1f2c23e18d741679c6ee3de87c51 /include/vcl/sysdata.hxx | |
parent | ab7d6b0d4fa8c91306f7b4f460a4596abc159912 (diff) |
vcl: consistently use sal_IntPtr to marshal drag source / drop target
This may be either an X11 Window or a GtkSalFrame*.
Change-Id: Ib963cfb329bb711cfaab47f2748da139117cdbae
Diffstat (limited to 'include/vcl/sysdata.hxx')
-rw-r--r-- | include/vcl/sysdata.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/sysdata.hxx b/include/vcl/sysdata.hxx index 49511985455e..458725d24033 100644 --- a/include/vcl/sysdata.hxx +++ b/include/vcl/sysdata.hxx @@ -20,6 +20,8 @@ #ifndef INCLUDED_VCL_SYSDATA_HXX #define INCLUDED_VCL_SYSDATA_HXX +#include <sal/types.h> + #include <vector> #include <cstddef> @@ -70,7 +72,9 @@ struct SystemEnvData int nDepth; // depth of said visual long aColormap; // the colormap being used void* pAppContext; // the application context in use - long aShellWindow; // the window of the frame's shell + // note: this is a "long" in Xlib *but* in the protocol it's only 32-bit + // however, the GTK3 vclplug wants to store pointers in here! + sal_IntPtr aShellWindow; // the window of the frame's shell void* pShellWidget; // the frame's shell widget const char* pToolkit; // the toolkit in use (gtk2 vs gtk3) #endif |