Commit c22ca7af authored by Francis Beaudet's avatar Francis Beaudet Committed by Alexandre Julliard

Replaced a X call with a TSX call in XDRV_MOUSE_SetCursor().

parent f9fbadff
......@@ -177,7 +177,7 @@ void X11DRV_MOUSE_SetCursor( CURSORICONINFO *lpCursor )
{
/* If in desktop mode, set the cursor on the desktop window */
XDefineCursor( display, X11DRV_GetXRootWindow(), X11DRV_MOUSE_XCursor );
TSXDefineCursor( display, X11DRV_GetXRootWindow(), X11DRV_MOUSE_XCursor );
}
else
{
......@@ -192,7 +192,7 @@ void X11DRV_MOUSE_SetCursor( CURSORICONINFO *lpCursor )
WND *tmpWnd = WIN_FindWndPtr(hwnd);
Window win = X11DRV_WND_FindXWindow(tmpWnd );
if (win && win!=DefaultRootWindow(display))
XDefineCursor( display, win, X11DRV_MOUSE_XCursor );
TSXDefineCursor( display, win, X11DRV_MOUSE_XCursor );
hwnd = GetWindow( hwnd, GW_HWNDNEXT );
WIN_ReleaseWndPtr(tmpWnd);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment