mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 00:33:38 +00:00
Detypoed X11DRV_EVENT_SetInputMethod.
This commit is contained in:
parent
3e731dae30
commit
35870f95a0
|
@ -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);
|
||||
|
|
|
@ -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_SetInputMethod(X11DRV_INPUT_RELATIVE);
|
||||
}
|
||||
#endif /* defined(HAVE_LIBXXF86DGA2) */
|
||||
return DD_OK;
|
||||
|
|
|
@ -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_SetInputMethod(INPUT_TYPE type);
|
||||
|
||||
#ifdef HAVE_LIBXXF86DGA2
|
||||
void X11DRV_EVENT_SetDGAStatus(HWND hwnd, int event_base) ;
|
||||
|
|
|
@ -1861,9 +1861,9 @@ void EVENT_UnmapNotify( HWND hWnd, XUnmapEvent *event )
|
|||
}
|
||||
|
||||
/**********************************************************************
|
||||
* X11DRV_EVENT_SetInputMehod
|
||||
* X11DRV_EVENT_SetInputMethod
|
||||
*/
|
||||
INPUT_TYPE X11DRV_EVENT_SetInputMehod(INPUT_TYPE type)
|
||||
INPUT_TYPE X11DRV_EVENT_SetInputMethod(INPUT_TYPE type)
|
||||
{
|
||||
INPUT_TYPE prev = current_input_type;
|
||||
|
||||
|
|
Loading…
Reference in a new issue