Browse Source

os/2: port from SDL2-2.0.5 to SDL2-2.0.12

- events / video: SDL_SetDoubleClickTime() removed -- functionality
         moved to SDL_mouse.c:SDL_MouseDoubleClickTimeChanged().
- video: struct SDL_VideoDevice-> CreateWindow and CreateWindowFrom
         members renamed to CreateSDLWindow and CreateSDLWindowFrom
Ozkan Sezer 4 years ago
parent
commit
5da796fe52
2 changed files with 2 additions and 4 deletions
  1. 0 2
      src/video/os2/SDL_os2mouse.c
  2. 2 2
      src/video/os2/SDL_os2video.c

+ 0 - 2
src/video/os2/SDL_os2mouse.c

@@ -185,8 +185,6 @@ void OS2_InitMouse(_THIS, ULONG hab)
   SDL_SetDefaultCursor( OS2_CreateSystemCursor( SDL_SYSTEM_CURSOR_ARROW ) );
   if ( hptrCursor == NULLHANDLE )
     hptrCursor = WinQuerySysPointer( HWND_DESKTOP, SPTR_ARROW, TRUE );
-
-  SDL_SetDoubleClickTime( WinQuerySysValue( HWND_DESKTOP, SV_DBLCLKTIME ) );
 }
 
 void OS2_QuitMouse(_THIS)

+ 2 - 2
src/video/os2/SDL_os2video.c

@@ -1717,8 +1717,8 @@ static SDL_VideoDevice *OS2_CreateDevice(int devindex)
   device->GetDisplayModes = OS2_GetDisplayModes;
   device->SetDisplayMode = OS2_SetDisplayMode;
   device->PumpEvents = OS2_PumpEvents;
-  device->CreateWindow = OS2_CreateWindow;
-  device->CreateWindowFrom = OS2_CreateWindowFrom;
+  device->CreateSDLWindow = OS2_CreateWindow;
+  device->CreateSDLWindowFrom = OS2_CreateWindowFrom;
   device->DestroyWindow = OS2_DestroyWindow;
   device->SetWindowTitle = OS2_SetWindowTitle;
   device->SetWindowIcon = OS2_SetWindowIcon;