XRRFreeScreenConfigInfo(xrr_config);\r
}\r
\r
- if(!(xrr_config = XRRGetScreenInfo(fgDisplay.pDisplay.Display, fgDisplay.RootWindow))) {\r
+ if(!(xrr_config = XRRGetScreenInfo(fgDisplay.pDisplay.Display, fgDisplay.pDisplay.RootWindow))) {\r
fgWarning("XRRGetScreenInfo failed");\r
break;\r
}\r
Window child;\r
\r
/* Change to viewport to the window topleft edge: */\r
- if( !XF86VidModeSetViewPort( fgDisplay.pDisplay.Display, fgDisplay.Screen, 0, 0 ) )\r
+ if( !XF86VidModeSetViewPort( fgDisplay.pDisplay.Display, fgDisplay.pDisplay.Screen, 0, 0 ) )\r
fgWarning( "XF86VidModeSetViewPort failed" );\r
\r
/*\r
XTranslateCoordinates(\r
fgDisplay.pDisplay.Display,\r
fgStructure.CurrentWindow->Window.Handle,\r
- fgDisplay.RootWindow,\r
+ fgDisplay.pDisplay.RootWindow,\r
0, 0, &x, &y, &w);\r
\r
switch ( eWhat )\r
ATTRIB( None );\r
\r
fbconfigArray = glXChooseFBConfig( fgDisplay.pDisplay.Display,\r
- fgDisplay.Screen,\r
+ fgDisplay.pDisplay.Screen,\r
attributes,\r
&fbconfigArraySize );\r
}\r
XEvent xev;\r
long evmask = SubstructureRedirectMask | SubstructureNotifyMask;\r
\r
- if(!fgDisplay.State || !fgDisplay.StateFullScreen) {\r
+ if(!fgDisplay.pDisplay.State || !fgDisplay.pDisplay.StateFullScreen) {\r
return -1;\r
}\r
\r
xev.type = ClientMessage;\r
xev.xclient.window = fgStructure.CurrentWindow->Window.Handle;\r
- xev.xclient.message_type = fgDisplay.State;\r
+ xev.xclient.message_type = fgDisplay.pDisplay.State;\r
xev.xclient.format = 32;\r
xev.xclient.data.l[0] = _NET_WM_STATE_TOGGLE;\r
- xev.xclient.data.l[1] = fgDisplay.StateFullScreen;\r
+ xev.xclient.data.l[1] = fgDisplay.pDisplay.StateFullScreen;\r
xev.xclient.data.l[2] = 0; /* no second property to toggle */\r
xev.xclient.data.l[3] = 1; /* source indication: application */\r
xev.xclient.data.l[4] = 0; /* unused */\r