Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
35870f95
Commit
35870f95
authored
24 years ago
by
Marcus Meissner
Committed by
Alexandre Julliard
24 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Detypoed X11DRV_EVENT_SetInputMethod.
parent
3e731dae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dlls/ddraw/ddraw/dga.c
+1
-1
1 addition, 1 deletion
dlls/ddraw/ddraw/dga.c
dlls/ddraw/dga.c
+1
-1
1 addition, 1 deletion
dlls/ddraw/dga.c
include/x11drv.h
+1
-1
1 addition, 1 deletion
include/x11drv.h
windows/x11drv/event.c
+2
-2
2 additions, 2 deletions
windows/x11drv/event.c
with
5 additions
and
5 deletions
dlls/ddraw/ddraw/dga.c
+
1
−
1
View file @
35870f95
...
...
@@ -527,7 +527,7 @@ static ULONG WINAPI DGA_IDirectDraw2Impl_Release(LPDIRECTDRAW2 iface) {
TSXDGASetMode
(
display
,
DefaultScreen
(
display
),
0
);
/* 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 */
X11DRV_EVENT_SetDGAStatus
(
0
,
-
1
);
...
...
This diff is collapsed.
Click to expand it.
dlls/ddraw/dga.c
+
1
−
1
View file @
35870f95
...
...
@@ -235,7 +235,7 @@ DGA_Create( LPDIRECTDRAW *lplpDD ) {
/* Initialize the frame buffer */
_DGA_Initialize_FrameBuffer
(
*
lplpDD
,
mode_to_use
);
/* Set the input handling for relative mouse movements */
/*
X11DRV_EVENT_SetInputMehod(X11DRV_INPUT_RELATIVE);
*/
X11DRV_EVENT_SetInputMe
t
hod
(
X11DRV_INPUT_RELATIVE
);
}
#endif
/* defined(HAVE_LIBXXF86DGA2) */
return
DD_OK
;
...
...
This diff is collapsed.
Click to expand it.
include/x11drv.h
+
1
−
1
View file @
35870f95
...
...
@@ -357,7 +357,7 @@ typedef enum {
X11DRV_INPUT_RELATIVE
,
X11DRV_INPUT_ABSOLUTE
}
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
void
X11DRV_EVENT_SetDGAStatus
(
HWND
hwnd
,
int
event_base
)
;
...
...
This diff is collapsed.
Click to expand it.
windows/x11drv/event.c
+
2
−
2
View file @
35870f95
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment