/* Initialize the object properties */
window->ID = ++fgStructure.WindowID;
+#if TARGET_HOST_POSIX_X11
window->State.OldHeight = window->State.OldWidth = -1;
+#endif
fgListInit( &window->Children );
if( parent )
*/
SFG_Menu* fgCreateMenu( FGCBMenu menuCallback )
{
- int x = 100, y = 100, w = 100, h = 100;
+ int x = 100, y = 100, w = 1, h = 1;
SFG_Window *current_window = fgStructure.CurrentWindow;
/* Have the menu object created */