projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26913c3
)
dont wait till window visible when creating menu, as menu won't be shown until first...
author
Diederick Niehorster
<dcnieho@gmail.com>
Thu, 4 Apr 2013 04:49:13 +0000
(
04:49
+0000)
committer
Diederick Niehorster
<dcnieho@gmail.com>
Thu, 4 Apr 2013 04:49:13 +0000
(
04:49
+0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1580
7f0cb862
-5218-0410-a997-
914c9d46530a
src/x11/fg_window_x11.c
patch
|
blob
|
history
diff --git
a/src/x11/fg_window_x11.c
b/src/x11/fg_window_x11.c
index
f9e94a4
..
d2a3bbd
100644
(file)
--- a/
src/x11/fg_window_x11.c
+++ b/
src/x11/fg_window_x11.c
@@
-364,7
+364,8
@@
void fgPlatformOpenWindow( SFG_Window* window, const char* title,
XFree(visualInfo);
- if( !isSubWindow)
+ /* wait till window visible */
+ if( !isSubWindow && !window->IsMenu)
XPeekIfEvent( fgDisplay.pDisplay.Display, &eventReturnBuffer, &fghWindowIsVisible, (XPointer)(window->Window.Handle) );
#undef WINDOW_CONFIG
}