#ifndef E_MOD_MAIN_H # define E_MOD_MAIN_H # define LOGFNS 1 # ifdef LOGFNS # include # define LOGFN(fl, ln, fn) printf("-CONF-RANDR: %25s: %5i - %s\n", fl, ln, fn); # else # define LOGFN(fl, ln, fn) # endif # ifndef ECORE_X_RANDR_1_2 # define ECORE_X_RANDR_1_2 ((1 << 16) | 2) # endif # ifndef ECORE_X_RANDR_1_3 # define ECORE_X_RANDR_1_3 ((1 << 16) | 3) # endif # ifndef E_RANDR_12 # define E_RANDR_12 (e_randr_screen_info.rrvd_info.randr_info_12) # endif EAPI extern E_Module_Api e_modapi; EAPI void *e_modapi_init(E_Module *m); EAPI int e_modapi_shutdown(E_Module *m); EAPI int e_modapi_save(E_Module *m); extern const char *mod_dir; /** * @addtogroup Optional_Conf * @{ * * @defgroup Module_Conf_RandR RandR (Screen Resize, Rotate and Mirror) * * Configures size, rotation and mirroring of screen. Uses the X11 * RandR protocol (does not work with NVidia proprietary drivers). * * @} */ #endif