   glut question
  This question might seem a bit silly but I was wondering if anyone knows this; when you create a window  via glutInitWindowSize() and glutCreateWindow(), do the window dimensions specified in the glutInitWindowSize() include the title bar of the window? or only the viewable area of the window?   
  i think glutInitWindowSize set size include title bar.   ;  The size is the size of the client area, meaning without borders and stuff. You can easily check this by printing, or using a debugger to watch, the values passed to the reshape callback and compare to what you passed to glutInitWindowSize.On Windows, CreateWindow is the window size including borders, but GLUT calls AdjustWindowRect to compensate for the borders. On X, it calls XCreateWindow only, but which according to the man pages creates a window with specified inner size instead.   