mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
Bug #2799: Input shape. (Keith Packard)
This commit is contained in:
parent
d24ed90547
commit
988ffddfe0
6 changed files with 144 additions and 40 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue