Detypoed X11DRV_EVENT_SetInputMethod.

oldstable
Marcus Meissner 2000-04-14 14:09:50 +00:00 committed by Alexandre Julliard
parent 3e731dae30
commit 35870f95a0
4 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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) ;

View File

@ -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;