aboutsummaryrefslogblamecommitdiffstats
path: root/src/bin/e_xinerama.h
blob: b886cf9b0c0b20b80eca6e4008a6784b3e25eb96 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                  
                       
                  
                
                                                                          

  

                                                





                                                                              
 

      
#ifdef E_TYPEDEFS

typedef struct _E_Screen E_Screen;

#else
#ifndef E_XINERAMA_H
#define E_XINERAMA_H

struct _E_Screen
{
   int screen, escreen;
   int x, y, w, h;
   int rotation;
   char *id; // this is the same id we get from randr2 so look it up there
};

EINTERN int           e_xinerama_init(void);
EINTERN int           e_xinerama_shutdown(void);
E_API void             e_xinerama_update(void);
E_API const Eina_List *e_xinerama_screens_get(void);
E_API const Eina_List *e_xinerama_screens_all_get(void);
E_API void e_xinerama_screens_set(Eina_List *screens);
E_API void             e_xinerama_fake_screen_add(int x, int y, int w, int h);
E_API Eina_Bool        e_xinerama_fake_screens_exist(void);

#endif
#endif