diff options
author | marha <marha@users.sourceforge.net> | 2011-06-09 09:18:21 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-06-09 09:18:21 +0200 |
commit | 637bc31135b378ea9521b5a93b14bdce482da209 (patch) | |
tree | 556d202a5bbc4291886c4a46531670be82dfa85e /xorg-server/hw/xwin/xdmcphostselect.c | |
parent | f28f44a67b3aa934f9ccba428d8de15d459cae91 (diff) | |
download | vcxsrv-637bc31135b378ea9521b5a93b14bdce482da209.tar.gz vcxsrv-637bc31135b378ea9521b5a93b14bdce482da209.tar.bz2 vcxsrv-637bc31135b378ea9521b5a93b14bdce482da209.zip |
Also show the cursor in the main window when the xdmcp host selection dialog is shown.
The cursor was not shown when the mouse was in the main window. Due to this it was
hard to move the mouse into the host selection dialog box.
Diffstat (limited to 'xorg-server/hw/xwin/xdmcphostselect.c')
-rw-r--r-- | xorg-server/hw/xwin/xdmcphostselect.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/xorg-server/hw/xwin/xdmcphostselect.c b/xorg-server/hw/xwin/xdmcphostselect.c index 3196da4af..c58463fe7 100644 --- a/xorg-server/hw/xwin/xdmcphostselect.c +++ b/xorg-server/hw/xwin/xdmcphostselect.c @@ -71,15 +71,6 @@ static wBOOL CALLBACK DisplayXdmcpHostsDlgProc (HWND hwndDialog, UINT message, W return TRUE;
}
break;
- case WM_MOUSEMOVE:
- case WM_NCMOUSEMOVE:
- /* Show the cursor if it is hidden */
- if (g_fSoftwareCursor && !g_fCursor)
- {
- g_fCursor = TRUE;
- ShowCursor (TRUE);
- }
- return TRUE;
case WM_COMMAND:
switch (LOWORD (wParam))
@@ -167,6 +158,12 @@ void DisplayXdmcpHostsDialog(void) return;
}
+ /* Show an arrow cursor as long as the selection dialog is shown */
+ {
+ winScreenPriv(screenInfo.screens[0]);
+ pScreenPriv->cursor.handle=LoadCursor(NULL,IDC_ARROW);
+ }
+
/*
* Display the about box
*/
|