Skip to content

Commit

Permalink
Added a few FIXMEs.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 21, 2015
1 parent 1373e89 commit e0e0454
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/SDL_video.h
Expand Up @@ -95,6 +95,7 @@ typedef struct SDL_Window SDL_Window;
*/
typedef enum
{
/* !!! FIXME: change this to name = (1<<x). */
SDL_WINDOW_FULLSCREEN = 0x00000001, /**< fullscreen window */
SDL_WINDOW_OPENGL = 0x00000002, /**< window usable with OpenGL context */
SDL_WINDOW_SHOWN = 0x00000004, /**< window is visible */
Expand Down
1 change: 1 addition & 0 deletions src/video/cocoa/SDL_cocoawindow.m
Expand Up @@ -196,6 +196,7 @@ static void ConvertNSRect(NSScreen *screen, BOOL fullscreen, NSRect *r)
}
}

/* !!! FIXME: this should use a hint callback. */
static int
GetHintCtrlClickEmulateRightClick()
{
Expand Down
1 change: 1 addition & 0 deletions src/video/x11/SDL_x11window.c
Expand Up @@ -130,6 +130,7 @@ X11_SetNetWMState(_THIS, Window xwindow, Uint32 flags)
{
SDL_VideoData *videodata = (SDL_VideoData *) _this->driverdata;
Display *display = videodata->display;
/* !!! FIXME: just dereference videodata below instead of copying to locals. */
Atom _NET_WM_STATE = videodata->_NET_WM_STATE;
/* Atom _NET_WM_STATE_HIDDEN = videodata->_NET_WM_STATE_HIDDEN; */
Atom _NET_WM_STATE_FOCUSED = videodata->_NET_WM_STATE_FOCUSED;
Expand Down

0 comments on commit e0e0454

Please sign in to comment.