Added a few FIXMEs.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 21 Apr 2015 09:46:48 -0400
changeset 10010cc07869515b2
parent 10009 8c6b05b0a27e
child 10011 08f381fd2279
Added a few FIXMEs.
include/SDL_video.h
src/video/cocoa/SDL_cocoawindow.m
src/video/x11/SDL_x11window.c
     1.1 --- a/include/SDL_video.h	Mon Jan 04 22:58:38 2016 -0500
     1.2 +++ b/include/SDL_video.h	Tue Apr 21 09:46:48 2015 -0400
     1.3 @@ -95,6 +95,7 @@
     1.4   */
     1.5  typedef enum
     1.6  {
     1.7 +    /* !!! FIXME: change this to name = (1<<x). */
     1.8      SDL_WINDOW_FULLSCREEN = 0x00000001,         /**< fullscreen window */
     1.9      SDL_WINDOW_OPENGL = 0x00000002,             /**< window usable with OpenGL context */
    1.10      SDL_WINDOW_SHOWN = 0x00000004,              /**< window is visible */
     2.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Mon Jan 04 22:58:38 2016 -0500
     2.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Tue Apr 21 09:46:48 2015 -0400
     2.3 @@ -196,6 +196,7 @@
     2.4      }
     2.5  }
     2.6  
     2.7 +/* !!! FIXME: this should use a hint callback. */
     2.8  static int
     2.9  GetHintCtrlClickEmulateRightClick()
    2.10  {
     3.1 --- a/src/video/x11/SDL_x11window.c	Mon Jan 04 22:58:38 2016 -0500
     3.2 +++ b/src/video/x11/SDL_x11window.c	Tue Apr 21 09:46:48 2015 -0400
     3.3 @@ -130,6 +130,7 @@
     3.4  {
     3.5      SDL_VideoData *videodata = (SDL_VideoData *) _this->driverdata;
     3.6      Display *display = videodata->display;
     3.7 +    /* !!! FIXME: just dereference videodata below instead of copying to locals. */
     3.8      Atom _NET_WM_STATE = videodata->_NET_WM_STATE;
     3.9      /* Atom _NET_WM_STATE_HIDDEN = videodata->_NET_WM_STATE_HIDDEN; */
    3.10      Atom _NET_WM_STATE_FOCUSED = videodata->_NET_WM_STATE_FOCUSED;