mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-04 22:36:10 +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
|
|
@ -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
|
||||
)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue