mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-28 01:26:22 +00:00
(!1654) Xnest: replace XDefineCursor() by xcb_change_window_attributes()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -136,9 +136,12 @@ xnestSetCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor, int x,
|
||||
int y)
|
||||
{
|
||||
if (pCursor) {
|
||||
XDefineCursor(xnestDisplay,
|
||||
xnestDefaultWindows[pScreen->myNum],
|
||||
xnestCursor(pCursor, pScreen));
|
||||
uint32_t cursor = xnestCursor(pCursor, pScreen);
|
||||
|
||||
xcb_change_window_attributes(xnestUpstreamInfo.conn,
|
||||
xnestDefaultWindows[pScreen->myNum],
|
||||
XCB_CW_CURSOR,
|
||||
&cursor);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user