mirror of https://github.com/encounter/SDL.git
Added a few FIXMEs.
This commit is contained in:
parent
1373e8909a
commit
e0e04542d0
|
@ -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 */
|
||||
|
|
|
@ -196,6 +196,7 @@ ScheduleContextUpdates(SDL_WindowData *data)
|
|||
}
|
||||
}
|
||||
|
||||
/* !!! FIXME: this should use a hint callback. */
|
||||
static int
|
||||
GetHintCtrlClickEmulateRightClick()
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue