diff options
Diffstat (limited to 'include/windowstr.h')
-rw-r--r-- | include/windowstr.h | 2 |
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) |