mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Bug #2799: Input shape. (Keith Packard)
This commit is contained in:
@@ -1249,6 +1249,12 @@ ProcTranslateCoords(register ClientPtr client)
|
||||
&& (!wBoundingShape(pWin) ||
|
||||
POINT_IN_REGION(pWin->drawable.pScreen,
|
||||
&pWin->borderSize, x, y, &box))
|
||||
|
||||
&& (!wInputShape(pWin) ||
|
||||
POINT_IN_REGION(pWin->drawable.pScreen,
|
||||
wInputShape(pWin),
|
||||
x - pWin->drawable.x,
|
||||
y - pWin->drawable.y, &box))
|
||||
#endif
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user