summaryrefslogtreecommitdiff
path: root/include/window.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-01-08 12:31:18 +1030
committerPeter Hutterer <whot@hyena.localdomain>2007-01-08 12:31:18 +1030
commit95e1a88050dde61e9b2407428042a43e47b46e18 (patch)
tree4aa6374545f0d1efbdc2e6f1295d89cd03453631 /include/window.h
parent9fd2f167ec02ee170b87f02ddca89eba0b2e2389 (diff)
Xi: Adding ChangeDeviceCursor request
Diffstat (limited to 'include/window.h')
-rw-r--r--include/window.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/window.h b/include/window.h
index bddeb252b..8f2522cbb 100644
--- a/include/window.h
+++ b/include/window.h
@@ -67,6 +67,10 @@ SOFTWARE.
#define WT_NOMATCH 3
#define NullWindow ((WindowPtr) 0)
+/* Forward declaration, we can't include input.h here */
+struct _DeviceIntRec;
+struct _Cursor;
+
typedef struct _BackingStore *BackingStorePtr;
typedef struct _Window *WindowPtr;
@@ -143,6 +147,15 @@ extern int ChangeWindowAttributes(
XID* /*vlist*/,
ClientPtr /*client*/);
+extern int ChangeWindowDeviceCursor(
+ WindowPtr /*pWin*/,
+ struct _DeviceIntRec* /*pDev*/,
+ struct _Cursor* /*pCursor*/);
+
+extern struct _Cursor* WindowGetDeviceCursor(
+ WindowPtr /*pWin*/,
+ struct _DeviceIntRec* /*pDev*/);
+
/* Quartz support on Mac OS X uses the HIToolbox
framework whose GetWindowAttributes function conflicts here. */
#ifdef __DARWIN__