CreatePointerBarrier takes a window, not a drawable

Technically this is a change in the protocol, but we've never supported
anything but a Window.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2012-12-03 14:48:20 +10:00
parent 2af3797fa9
commit b6c6bc2aa4

View file

@ -606,13 +606,13 @@ essentially the same reason.
CreatePointerBarrier
barrier: BARRIER
drawable: DRAWABLE
window: Window
x1, y2, x2, y2: INT16
directions: CARD32
devices: LISTofDEVICEID
Creates a pointer barrier along the line specified by the given
coordinates on the screen associated with the given drawable. The
coordinates on the screen associated with the given window. The
barrier has no spatial extent; it is simply a line along the left
or top edge of the specified pixels. Barrier coordinates are in
screen space.