X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffg_structure.c;fp=src%2Ffg_structure.c;h=88b26149d46f47027d93286b7acad2949aff899a;hb=f0ba4e97608a444ae0a94e2408ed1a647ee38672;hp=8a5b4f5c1d573487a73dc3f27f343c1f5560c08e;hpb=93011e4f079bbfdb796c7b7f524f247956cc4830;p=freeglut diff --git a/src/fg_structure.c b/src/fg_structure.c index 8a5b4f5..88b2614 100644 --- a/src/fg_structure.c +++ b/src/fg_structure.c @@ -92,14 +92,17 @@ SFG_Window* fgCreateWindow( SFG_Window* parent, const char* title, /* Set the default mouse cursor and reset the modifiers value */ window->State.Cursor = GLUT_CURSOR_INHERIT; - - window->IsMenu = isMenu; - + window->State.IgnoreKeyRepeat = GL_FALSE; window->State.KeyRepeating = GL_FALSE; window->State.IsFullscreen = GL_FALSE; window->State.VisualizeNormals= GL_FALSE; + window->State.pWState.WindowTitle = NULL; + window->State.pWState.IconTitle = NULL; + + window->IsMenu = isMenu; + /* * Open the window now. The fgOpenWindow() function is system * dependant, and resides in freeglut_window.c. Uses fgState.