internal override void SetCursorPos(IntPtr handle, int x, int y) { if (handle == IntPtr.Zero) { display.SetCursorPos(x, y); } else { X11Hwnd hwnd = (X11Hwnd)Hwnd.ObjectFromHandle(handle); hwnd.SetCursorPos(x, y); } }