1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/* * * 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; }