-\r
- /* The window position you request is the outer top-left of the window,\r
- * the client area is at a different position if the window has borders\r
- * and/or a title bar.\r
+ \r
+ /* Get border and caption size of default window style */\r
+ border = glutGet(GLUT_WINDOW_BORDER_WIDTH);\r
+ caption = glutGet(GLUT_WINDOW_HEADER_HEIGHT);\r
+ printf("default window style border: %dpx, caption: %dpx\n",border,caption);\r
+\r
+ /* NB: The window position you request is the outer top-left of the\r
+ * window, the client area is at a different position if the window has\r
+ * borders and/or a title bar.\r