fna-workbench

fna-workbench Commit Details


Date:2016-01-04 11:26:19 (9 years 8 months ago)
Author:Ethan Lee
Branch:master
Commit:6cc846d8285be08363a577f56acaa2426cf9d756
Parents: 1f83e35a45ce41f1125f95a6892333835943cbaf
Message:2.0.4 fixed this!

Changes:

File differences

src/SDL2/SDL2_GamePlatform.cs
275275
276276
277277
278
279
280
281
282
283
284
285
286
287
288
289278
290279
291280
public override void RunLoop()
{
SDL.SDL_ShowWindow(Window.Handle);
if (Window.IsBorderlessEXT)
{
/* FIXME: SDL2/X11 bug!
* See SDL2_GameWindow.IsBorderlessEXT.
* -flibit
*/
SDL.SDL_SetWindowBordered(
Window.Handle,
SDL.SDL_bool.SDL_FALSE
);
}
SDL.SDL_Event evt;
src/SDL2/SDL2_GameWindow.cs
103103
104104
105105
106
107106
108107
109108
110109
111
112
110
113111
114112
115113
116
117
118
119
120
121
122
123
124
125
126
127114
128115
129116
}
}
private bool INTERNAL_isBorderless = false;
public override bool IsBorderlessEXT
{
get
{
return (INTERNAL_isBorderless ||
(SDL.SDL_GetWindowFlags(INTERNAL_sdlWindow) & (uint) SDL.SDL_WindowFlags.SDL_WINDOW_BORDERLESS) != 0);
return ((SDL.SDL_GetWindowFlags(INTERNAL_sdlWindow) & (uint) SDL.SDL_WindowFlags.SDL_WINDOW_BORDERLESS) != 0);
}
set
{
INTERNAL_isBorderless = value;
if ((SDL.SDL_GetWindowFlags(INTERNAL_sdlWindow) & (uint) SDL.SDL_WindowFlags.SDL_WINDOW_SHOWN) == 0)
{
/* FIXME: SDL2/X11 bug!
* If you set the window border before the window's actually
* shown, this next call will hang. So schedule it for
* later.
* -flibit
*/
return;
}
SDL.SDL_SetWindowBordered(
INTERNAL_sdlWindow,
value ? SDL.SDL_bool.SDL_FALSE : SDL.SDL_bool.SDL_TRUE

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.59409s using 13 queries.