summaryrefslogtreecommitdiff
path: root/include/windowstr.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-06-10 04:01:14 +0000
committerAdam Jackson <ajax@nwnk.net>2005-06-10 04:01:14 +0000
commit988ffddfe082fb27fadf9aa60ab22dce6855508c (patch)
tree59390df386beab4f68b7e6ee98aba6f81f006b70 /include/windowstr.h
parentd24ed90547122832d4168ad761f68e107bb1a2db (diff)
Bug #2799: Input shape. (Keith Packard)XORG-6_8_99_11
Diffstat (limited to 'include/windowstr.h')
-rw-r--r--include/windowstr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/windowstr.h b/include/windowstr.h
index bce01ba97..89e3ee10b 100644
--- a/include/windowstr.h
+++ b/include/windowstr.h
@@ -86,6 +86,7 @@ typedef struct _WindowOpt {
#ifdef SHAPE
RegionPtr boundingShape; /* default: NULL */
RegionPtr clipShape; /* default: NULL */
+ RegionPtr inputShape; /* default: NULL */
#endif
#ifdef XINPUT
struct _OtherInputMasks *inputMasks; /* default: NULL */
@@ -174,6 +175,7 @@ extern Mask DontPropagateMasks[];
#ifdef SHAPE
#define wBoundingShape(w) wUseDefault(w, boundingShape, NULL)
#define wClipShape(w) wUseDefault(w, clipShape, NULL)
+#define wInputShape(w) wUseDefault(w, inputShape, NULL)
#endif
#define wClient(w) (clients[CLIENT_ID((w)->drawable.id)])
#define wBorderWidth(w) ((int) (w)->borderWidth)