xserver: Branch 'master'
Alan Hourihane
alanh at kemper.freedesktop.org
Fri May 11 02:08:43 PDT 2007
hw/xwin/winmultiwindowwndproc.c | 5 +++--
hw/xwin/winwin32rootlesswndproc.c | 5 +++--
hw/xwin/winwndproc.c | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
New commits:
diff-tree 178d426311bb3c7160f72b5d95b0a137eda09ba9 (from ebaa6c920c82401952a0ccc991b94574306449bd)
Author: Colin Harrison <colin.harrison-at-virgin.net>
Date: Fri May 11 10:08:42 2007 +0100
Missing piece from bug 9808
diff --git a/hw/xwin/winmultiwindowwndproc.c b/hw/xwin/winmultiwindowwndproc.c
index 47875b4..0a7579b 100644
--- a/hw/xwin/winmultiwindowwndproc.c
+++ b/hw/xwin/winmultiwindowwndproc.c
@@ -38,6 +38,7 @@
#include "winmultiwindowclass.h"
#include "winprefs.h"
#include "winmsg.h"
+#include "inputstr.h"
/*
* External global variables
@@ -494,8 +495,8 @@ winTopLevelWindowProc (HWND hwnd, UINT m
break;
/* Has the mouse pointer crossed screens? */
- if (s_pScreen != miPointerCurrentScreen ())
- miPointerSetNewScreen (s_pScreenInfo->dwScreen,
+ if (s_pScreen != miPointerGetScreen(inputInfo.pointer))
+ miPointerSetScreen (inputInfo.pointer, s_pScreenInfo->dwScreen,
ptMouse.x - s_pScreenInfo->dwXOffset,
ptMouse.y - s_pScreenInfo->dwYOffset);
diff --git a/hw/xwin/winwin32rootlesswndproc.c b/hw/xwin/winwin32rootlesswndproc.c
index ffa8493..859aafd 100755
--- a/hw/xwin/winwin32rootlesswndproc.c
+++ b/hw/xwin/winwin32rootlesswndproc.c
@@ -41,6 +41,7 @@
#include <X11/Xatom.h>
#include "winmultiwindowclass.h"
#include "winmsg.h"
+#include "inputstr.h"
/*
@@ -534,8 +535,8 @@ winMWExtWMWindowProc (HWND hwnd, UINT me
break;
/* Has the mouse pointer crossed screens? */
- if (pScreen != miPointerCurrentScreen ())
- miPointerSetNewScreen (pScreenInfo->dwScreen,
+ if (pScreen != miPointerGetScreen(inputInfo.pointer))
+ miPointerSetScreen (inputInfo.pointer, pScreenInfo->dwScreen,
ptMouse.x - pScreenInfo->dwXOffset,
ptMouse.y - pScreenInfo->dwYOffset);
diff --git a/hw/xwin/winwndproc.c b/hw/xwin/winwndproc.c
index 2974c41..29ea81f 100644
--- a/hw/xwin/winwndproc.c
+++ b/hw/xwin/winwndproc.c
@@ -40,6 +40,7 @@
#include "winprefs.h"
#include "winconfig.h"
#include "winmsg.h"
+#include "inputstr.h"
#ifdef XKB
extern BOOL winCheckKeyPressed(WPARAM wParam, LPARAM lParam);
@@ -723,8 +724,8 @@ winWindowProc (HWND hwnd, UINT message,
break;
/* Has the mouse pointer crossed screens? */
- if (s_pScreen != miPointerCurrentScreen ())
- miPointerSetNewScreen (s_pScreenInfo->dwScreen,
+ if (s_pScreen != miPointerGetScreen(inputInfo.pointer))
+ miPointerSetScreen (inputInfo.pointer, s_pScreenInfo->dwScreen,
GET_X_LPARAM(lParam)-s_pScreenInfo->dwXOffset,
GET_Y_LPARAM(lParam)-s_pScreenInfo->dwYOffset);
More information about the xorg-commit
mailing list