aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winwndproc.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-09 15:19:40 +0000
committermarha <marha@users.sourceforge.net>2009-09-09 15:19:40 +0000
commite978fab10babba27885fe6b8a3f8dd72fecbc792 (patch)
tree755b19ad0256af3b44bf79c021c132288a396529 /xorg-server/hw/xwin/winwndproc.c
parentce016335ab8ff2413bb82de6f74b2b96f746d07b (diff)
downloadvcxsrv-e978fab10babba27885fe6b8a3f8dd72fecbc792.tar.gz
vcxsrv-e978fab10babba27885fe6b8a3f8dd72fecbc792.tar.bz2
vcxsrv-e978fab10babba27885fe6b8a3f8dd72fecbc792.zip
Synchronised with released branch.
Diffstat (limited to 'xorg-server/hw/xwin/winwndproc.c')
-rw-r--r--xorg-server/hw/xwin/winwndproc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/xorg-server/hw/xwin/winwndproc.c b/xorg-server/hw/xwin/winwndproc.c
index a9207f666..0399545f8 100644
--- a/xorg-server/hw/xwin/winwndproc.c
+++ b/xorg-server/hw/xwin/winwndproc.c
@@ -760,7 +760,7 @@ winWindowProc (HWND hwnd, UINT message,
g_fCursor = TRUE;
ShowCursor (TRUE);
}
-
+
/* Deliver absolute cursor position to X Server */
winEnqueueMotion(GET_X_LPARAM(lParam)-s_pScreenInfo->dwXOffset,
GET_Y_LPARAM(lParam)-s_pScreenInfo->dwYOffset);
@@ -901,15 +901,15 @@ winWindowProc (HWND hwnd, UINT message,
switch (wParam)
{
case WIN_E3B_TIMER_ID:
- /* Send delayed button press */
- winMouseButtonsSendEvent (ButtonPress,
+ /* Send delayed button press */
+ winMouseButtonsSendEvent (ButtonPress,
s_pScreenPriv->iE3BCachedPress);
- /* Kill this timer */
- KillTimer (s_pScreenPriv->hwndScreen, WIN_E3B_TIMER_ID);
+ /* Kill this timer */
+ KillTimer (s_pScreenPriv->hwndScreen, WIN_E3B_TIMER_ID);
- /* Clear screen privates flags */
- s_pScreenPriv->iE3BCachedPress = 0;
+ /* Clear screen privates flags */
+ s_pScreenPriv->iE3BCachedPress = 0;
break;
case WIN_POLLING_MOUSE_TIMER_ID:
@@ -924,7 +924,7 @@ winWindowProc (HWND hwnd, UINT message,
/* Map from screen (-X, -Y) to root (0, 0) */
point.x -= GetSystemMetrics (SM_XVIRTUALSCREEN);
point.y -= GetSystemMetrics (SM_YVIRTUALSCREEN);
-
+
/* Deliver absolute cursor position to X Server */
winEnqueueMotion(point.x , point.y);