Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
153334e5
Commit
153334e5
authored
Jun 05, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Jun 05, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed DummyMotionNotify EVENT driver routine.
parent
5a70c97a
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
40 deletions
+14
-40
message.h
include/message.h
+0
-2
ttydrv.h
include/ttydrv.h
+0
-1
x11drv.h
include/x11drv.h
+0
-1
event.c
windows/event.c
+0
-9
event.c
windows/ttydrv/event.c
+0
-7
init.c
windows/ttydrv/init.c
+0
-1
winpos.c
windows/winpos.c
+14
-1
event.c
windows/x11drv/event.c
+0
-17
init.c
windows/x11drv/init.c
+0
-1
No files found.
include/message.h
View file @
153334e5
...
...
@@ -30,7 +30,6 @@ typedef struct tagEVENT_DRIVER {
void
(
*
pSynchronize
)(
BOOL
);
BOOL
(
*
pCheckFocus
)(
void
);
BOOL
(
*
pQueryPointer
)(
DWORD
*
,
DWORD
*
,
DWORD
*
);
void
(
*
pDummyMotionNotify
)(
void
);
void
(
*
pUserRepaintDisable
)(
BOOL
);
}
EVENT_DRIVER
;
...
...
@@ -40,7 +39,6 @@ extern BOOL EVENT_Init( void );
extern
void
EVENT_Synchronize
(
BOOL
bProcessEvents
);
extern
BOOL
EVENT_CheckFocus
(
void
);
extern
BOOL
EVENT_QueryPointer
(
DWORD
*
posX
,
DWORD
*
posY
,
DWORD
*
state
);
extern
void
EVENT_DummyMotionNotify
(
void
);
/* input.c */
...
...
include/ttydrv.h
View file @
153334e5
...
...
@@ -94,7 +94,6 @@ extern BOOL TTYDRV_EVENT_Init(void);
extern
void
TTYDRV_EVENT_Synchronize
(
BOOL
bProcessEvents
);
extern
BOOL
TTYDRV_EVENT_CheckFocus
(
void
);
extern
BOOL
TTYDRV_EVENT_QueryPointer
(
DWORD
*
posX
,
DWORD
*
posY
,
DWORD
*
state
);
extern
void
TTYDRV_EVENT_DummyMotionNotify
(
void
);
extern
void
TTYDRV_EVENT_UserRepaintDisable
(
BOOL
bDisable
);
/* TTY keyboard driver */
...
...
include/x11drv.h
View file @
153334e5
...
...
@@ -345,7 +345,6 @@ extern BOOL X11DRV_EVENT_Init(void);
extern
void
X11DRV_EVENT_Synchronize
(
BOOL
bProcessEvents
);
extern
BOOL
X11DRV_EVENT_CheckFocus
(
void
);
extern
BOOL
X11DRV_EVENT_QueryPointer
(
DWORD
*
posX
,
DWORD
*
posY
,
DWORD
*
state
);
extern
void
X11DRV_EVENT_DummyMotionNotify
(
void
);
extern
void
X11DRV_EVENT_UserRepaintDisable
(
BOOL
bDisable
);
/* X11 keyboard driver */
...
...
windows/event.c
View file @
153334e5
...
...
@@ -50,13 +50,4 @@ BOOL EVENT_QueryPointer(DWORD *posX, DWORD *posY, DWORD *state)
return
EVENT_Driver
->
pQueryPointer
(
posX
,
posY
,
state
);
}
/***********************************************************************
* EVENT_DummyMotionNotify
*
* Generate a dummy MotionNotify event. Used to force a WM_SETCURSOR message.
*/
void
EVENT_DummyMotionNotify
(
void
)
{
EVENT_Driver
->
pDummyMotionNotify
();
}
windows/ttydrv/event.c
View file @
153334e5
...
...
@@ -47,13 +47,6 @@ BOOL TTYDRV_EVENT_QueryPointer(DWORD *posX, DWORD *posY, DWORD *state)
}
/***********************************************************************
* TTYDRV_EVENT_DummyMotionNotify
*/
void
TTYDRV_EVENT_DummyMotionNotify
(
void
)
{
}
/***********************************************************************
* TTYDRV_EVENT_UserRepaintDisable
*/
void
TTYDRV_EVENT_UserRepaintDisable
(
BOOL
bDisable
)
...
...
windows/ttydrv/init.c
View file @
153334e5
...
...
@@ -42,7 +42,6 @@ EVENT_DRIVER TTYDRV_EVENT_Driver =
TTYDRV_EVENT_Synchronize
,
TTYDRV_EVENT_CheckFocus
,
TTYDRV_EVENT_QueryPointer
,
TTYDRV_EVENT_DummyMotionNotify
,
TTYDRV_EVENT_UserRepaintDisable
};
...
...
windows/winpos.c
View file @
153334e5
...
...
@@ -2764,7 +2764,20 @@ Pos: /* -----------------------------------------------------------------------
EVENT_Synchronize
(
TRUE
);
/* Synchronize with the host window system */
if
(
!
GetCapture
()
&&
((
wndPtr
->
dwStyle
&
WS_VISIBLE
)
||
(
flags
&
SWP_HIDEWINDOW
)))
EVENT_DummyMotionNotify
();
/* Simulate a mouse event to set the cursor */
{
/* Simulate a mouse event to set the cursor */
DWORD
posX
,
posY
,
keyState
;
if
(
EVENT_QueryPointer
(
&
posX
,
&
posY
,
&
keyState
)
)
{
int
iWndsLocks
=
WIN_SuspendWndsLock
();
hardware_event
(
WM_MOUSEMOVE
,
keyState
,
0
,
posX
,
posY
,
GetTickCount
(),
0
);
WIN_RestoreWndsLock
(
iWndsLocks
);
}
}
wndTemp
=
WIN_GetDesktop
();
...
...
windows/x11drv/event.c
View file @
153334e5
...
...
@@ -565,23 +565,6 @@ static void EVENT_MotionNotify( HWND hWnd, XMotionEvent *event )
/***********************************************************************
* X11DRV_EVENT_DummyMotionNotify
*
* Generate a dummy MotionNotify event. Used to force a WM_SETCURSOR message.
*/
void
X11DRV_EVENT_DummyMotionNotify
(
void
)
{
DWORD
winX
,
winY
,
state
;
if
(
EVENT_QueryPointer
(
&
winX
,
&
winY
,
&
state
)
)
{
MOUSE_SendEvent
(
MOUSEEVENTF_MOVE
,
winX
,
winY
,
state
,
GetTickCount
(),
0
);
}
}
/***********************************************************************
* EVENT_ButtonPress
*/
static
void
EVENT_ButtonPress
(
HWND
hWnd
,
XButtonEvent
*
event
)
...
...
windows/x11drv/init.c
View file @
153334e5
...
...
@@ -46,7 +46,6 @@ EVENT_DRIVER X11DRV_EVENT_Driver =
X11DRV_EVENT_Synchronize
,
X11DRV_EVENT_CheckFocus
,
X11DRV_EVENT_QueryPointer
,
X11DRV_EVENT_DummyMotionNotify
,
X11DRV_EVENT_UserRepaintDisable
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment