2 /* Copyright (c) Mark J. Kilgard, 1995, 1998. */
4 /* This program is freely distributable without licensing fees
5 and is provided without guarantee or warrantee expressed or
6 implied. This program is -not- in the public domain. */
16 assert(!__glutCurrentWindow
->parent
);
17 IGNORE_IN_GAME_MODE();
18 #if !defined(_WIN32) && !defined(__OS2PM__)
19 if (__glutMotifHints
== None
) {
20 __glutMotifHints
= XSGIFastInternAtom(__glutDisplay
, "_MOTIF_WM_HINTS",
21 SGI_XA__MOTIF_WM_HINTS
, 0);
22 if (__glutMotifHints
== None
) {
23 __glutWarning("Could not intern X atom for _MOTIF_WM_HINTS.");
28 __glutCurrentWindow
->desiredX
= 0;
29 __glutCurrentWindow
->desiredY
= 0;
30 __glutCurrentWindow
->desiredWidth
= __glutScreenWidth
;
31 __glutCurrentWindow
->desiredHeight
= __glutScreenHeight
;
32 __glutCurrentWindow
->desiredConfMask
|= CWX
| CWY
| CWWidth
| CWHeight
;
34 __glutPutOnWorkList(__glutCurrentWindow
,
35 GLUT_CONFIGURE_WORK
| GLUT_FULL_SCREEN_WORK
);