Xnest: replace XDefineCursor() by xcb_change_window_attributes()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
a7dc2b9524
commit
c79c0dca06
|
@ -133,9 +133,12 @@ xnestSetCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor, int x,
|
||||||
int y)
|
int y)
|
||||||
{
|
{
|
||||||
if (pCursor) {
|
if (pCursor) {
|
||||||
XDefineCursor(xnestDisplay,
|
uint32_t cursor = xnestCursor(pCursor, pScreen);
|
||||||
xnestDefaultWindows[pScreen->myNum],
|
|
||||||
xnestCursor(pCursor, pScreen));
|
xcb_change_window_attributes(xnestUpstreamInfo.conn,
|
||||||
|
xnestDefaultWindows[pScreen->myNum],
|
||||||
|
XCB_CW_CURSOR,
|
||||||
|
&cursor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue