src/video/x11/SDL_x11window.h
changeset 7659 ac4ce59c40e7
parent 7617 918703f5cff8
child 8093 b43765095a6f
equal deleted inserted replaced
7658:4033ba4fcc31 7659:ac4ce59c40e7
    28    changes.
    28    changes.
    29 */
    29 */
    30 #define PENDING_FOCUS_IN_TIME   200
    30 #define PENDING_FOCUS_IN_TIME   200
    31 #define PENDING_FOCUS_OUT_TIME  200
    31 #define PENDING_FOCUS_OUT_TIME  200
    32 
    32 
       
    33 #if SDL_VIDEO_OPENGL_EGL   
       
    34 #include <EGL/egl.h>
       
    35 #endif
       
    36 
    33 typedef enum
    37 typedef enum
    34 {
    38 {
    35     PENDING_FOCUS_NONE,
    39     PENDING_FOCUS_NONE,
    36     PENDING_FOCUS_IN,
    40     PENDING_FOCUS_IN,
    37     PENDING_FOCUS_OUT
    41     PENDING_FOCUS_OUT
    57     Uint32 pending_focus_time;
    61     Uint32 pending_focus_time;
    58     XConfigureEvent last_xconfigure;
    62     XConfigureEvent last_xconfigure;
    59     struct SDL_VideoData *videodata;
    63     struct SDL_VideoData *videodata;
    60     Atom xdnd_req;
    64     Atom xdnd_req;
    61     Window xdnd_source;
    65     Window xdnd_source;
       
    66 #if SDL_VIDEO_OPENGL_EGL  
       
    67     EGLSurface egl_surface;
       
    68 #endif
    62 } SDL_WindowData;
    69 } SDL_WindowData;
    63 
    70 
    64 extern void X11_SetNetWMState(_THIS, Window xwindow, Uint32 flags);
    71 extern void X11_SetNetWMState(_THIS, Window xwindow, Uint32 flags);
    65 extern Uint32 X11_GetNetWMState(_THIS, Window xwindow);
    72 extern Uint32 X11_GetNetWMState(_THIS, Window xwindow);
    66 
    73