From 35870f95a07f1f8fa5ffb86e0e6f8ca3189231b9 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 14 Apr 2000 14:09:50 +0000 Subject: [PATCH] Detypoed X11DRV_EVENT_SetInputMethod. --- dlls/ddraw/ddraw/dga.c | 2 +- dlls/ddraw/dga.c | 2 +- include/x11drv.h | 2 +- windows/x11drv/event.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/ddraw/ddraw/dga.c b/dlls/ddraw/ddraw/dga.c index d9f62621e9a..7876da6113c 100644 --- a/dlls/ddraw/ddraw/dga.c +++ b/dlls/ddraw/ddraw/dga.c @@ -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); diff --git a/dlls/ddraw/dga.c b/dlls/ddraw/dga.c index be6b92b7dbf..e64db78ca73 100644 --- a/dlls/ddraw/dga.c +++ b/dlls/ddraw/dga.c @@ -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; diff --git a/include/x11drv.h b/include/x11drv.h index 9c344d15f31..f3c3793e700 100644 --- a/include/x11drv.h +++ b/include/x11drv.h @@ -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) ; diff --git a/windows/x11drv/event.c b/windows/x11drv/event.c index 3b3ef6d4a8e..11608659c45 100644 --- a/windows/x11drv/event.c +++ b/windows/x11drv/event.c @@ -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;