summaryrefslogblamecommitdiff
path: root/ecore_x_scrnsaver.c
blob: 629e001616a99bf70a54f82db7cae4569970c0a4 (plain) (tree)
1
2
3
4
5
6
7
8





                    
                                
 







                                       
                                                                                           





                             
/*
 * 
 * XScreenSaver code
 * 
 */

#include "Ecore_X_ScreenSaver.h"


int 
ecore_x_scrnsaver_query_extension(void)
{
	Bool Queryresult;
	int *event_basep;
	int *error_basep;

	Queryresult = XScreenSaverQueryExtension(ecore_x_disp, &event_basep, &error_basep);

	if (Queryresult == 0)
		return 0;
	else
		return 1;
}