Restore the windowed position and size when coming back from fullscreen.
Also fixed problem where Cocoa would move the windows in response to the fullscreen mode change.
This commit is contained in:
parent
0dd9ad216f
commit
fbdf7429d5
6 changed files with 55 additions and 17 deletions
|
@ -43,8 +43,6 @@ typedef struct
|
|||
WNDPROC wndproc;
|
||||
SDL_bool created;
|
||||
int mouse_pressed;
|
||||
int windowed_x;
|
||||
int windowed_y;
|
||||
struct SDL_VideoData *videodata;
|
||||
} SDL_WindowData;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue