src/video/x11/SDL_x11events.c
changeset 1792 409974dedf2e
parent 1789 01313c1a2bbe
child 1895 c121d94672cb
child 3936 c5c3c772f5aa
equal deleted inserted replaced
1791:5652192b9c8b 1792:409974dedf2e
  1129 	  	if ( DPMSQueryExtension(display, &dummy, &dummy) ) {
  1129 	  	if ( DPMSQueryExtension(display, &dummy, &dummy) ) {
  1130 			CARD16 state;
  1130 			CARD16 state;
  1131 			DPMSInfo(display, &state, dpms);
  1131 			DPMSInfo(display, &state, dpms);
  1132 		}
  1132 		}
  1133 	}
  1133 	}
       
  1134 #else
       
  1135 	*dpms = 0;
  1134 #endif /* SDL_VIDEO_DRIVER_X11_DPMS */
  1136 #endif /* SDL_VIDEO_DRIVER_X11_DPMS */
  1135 }
  1137 }
  1136 
  1138 
  1137 void X11_DisableScreenSaver(Display *display)
  1139 void X11_DisableScreenSaver(Display *display)
  1138 {
  1140 {