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
35870f95
Commit
35870f95
authored
Apr 14, 2000
by
Marcus Meissner
Committed by
Alexandre Julliard
Apr 14, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Detypoed X11DRV_EVENT_SetInputMethod.
parent
3e731dae
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
dga.c
dlls/ddraw/ddraw/dga.c
+1
-1
dga.c
dlls/ddraw/dga.c
+1
-1
x11drv.h
include/x11drv.h
+1
-1
event.c
windows/x11drv/event.c
+2
-2
No files found.
dlls/ddraw/ddraw/dga.c
View file @
35870f95
...
@@ -527,7 +527,7 @@ static ULONG WINAPI DGA_IDirectDraw2Impl_Release(LPDIRECTDRAW2 iface) {
...
@@ -527,7 +527,7 @@ static ULONG WINAPI DGA_IDirectDraw2Impl_Release(LPDIRECTDRAW2 iface) {
TSXDGASetMode
(
display
,
DefaultScreen
(
display
),
0
);
TSXDGASetMode
(
display
,
DefaultScreen
(
display
),
0
);
/* Set the input handling back to absolute */
/* Set the input handling back to absolute */
/*X11DRV_EVENT_SetInputMethod(X11DRV_INPUT_ABSOLUTE);*/
X11DRV_EVENT_SetInputMethod
(
X11DRV_INPUT_ABSOLUTE
);
/* Remove the handling of DGA2 events */
/* Remove the handling of DGA2 events */
X11DRV_EVENT_SetDGAStatus
(
0
,
-
1
);
X11DRV_EVENT_SetDGAStatus
(
0
,
-
1
);
...
...
dlls/ddraw/dga.c
View file @
35870f95
...
@@ -235,7 +235,7 @@ DGA_Create( LPDIRECTDRAW *lplpDD ) {
...
@@ -235,7 +235,7 @@ DGA_Create( LPDIRECTDRAW *lplpDD ) {
/* Initialize the frame buffer */
/* Initialize the frame buffer */
_DGA_Initialize_FrameBuffer
(
*
lplpDD
,
mode_to_use
);
_DGA_Initialize_FrameBuffer
(
*
lplpDD
,
mode_to_use
);
/* Set the input handling for relative mouse movements */
/* Set the input handling for relative mouse movements */
/*X11DRV_EVENT_SetInputMehod(X11DRV_INPUT_RELATIVE);*/
X11DRV_EVENT_SetInputMethod
(
X11DRV_INPUT_RELATIVE
);
}
}
#endif
/* defined(HAVE_LIBXXF86DGA2) */
#endif
/* defined(HAVE_LIBXXF86DGA2) */
return
DD_OK
;
return
DD_OK
;
...
...
include/x11drv.h
View file @
35870f95
...
@@ -357,7 +357,7 @@ typedef enum {
...
@@ -357,7 +357,7 @@ typedef enum {
X11DRV_INPUT_RELATIVE
,
X11DRV_INPUT_RELATIVE
,
X11DRV_INPUT_ABSOLUTE
X11DRV_INPUT_ABSOLUTE
}
INPUT_TYPE
;
}
INPUT_TYPE
;
extern
INPUT_TYPE
X11DRV_EVENT_SetInputMehod
(
INPUT_TYPE
type
);
extern
INPUT_TYPE
X11DRV_EVENT_SetInputMe
t
hod
(
INPUT_TYPE
type
);
#ifdef HAVE_LIBXXF86DGA2
#ifdef HAVE_LIBXXF86DGA2
void
X11DRV_EVENT_SetDGAStatus
(
HWND
hwnd
,
int
event_base
)
;
void
X11DRV_EVENT_SetDGAStatus
(
HWND
hwnd
,
int
event_base
)
;
...
...
windows/x11drv/event.c
View file @
35870f95
...
@@ -1861,9 +1861,9 @@ void EVENT_UnmapNotify( HWND hWnd, XUnmapEvent *event )
...
@@ -1861,9 +1861,9 @@ void EVENT_UnmapNotify( HWND hWnd, XUnmapEvent *event )
}
}
/**********************************************************************
/**********************************************************************
* X11DRV_EVENT_SetInputMehod
* X11DRV_EVENT_SetInputMe
t
hod
*/
*/
INPUT_TYPE
X11DRV_EVENT_SetInputMehod
(
INPUT_TYPE
type
)
INPUT_TYPE
X11DRV_EVENT_SetInputMe
t
hod
(
INPUT_TYPE
type
)
{
{
INPUT_TYPE
prev
=
current_input_type
;
INPUT_TYPE
prev
=
current_input_type
;
...
...
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