src/video/x11/SDL_x11window.c
changeset 6470 ca793191b67a
parent 6467 ec5a04e921d4
child 6473 a5adb68266d0
equal deleted inserted replaced
6469:ce84310d85ef 6470:ca793191b67a
    53     return ev->type == UnmapNotify && ev->xunmap.window == *((Window*)win);
    53     return ev->type == UnmapNotify && ev->xunmap.window == *((Window*)win);
    54 }
    54 }
    55 static Bool isConfigureNotify(Display *dpy, XEvent *ev, XPointer win)
    55 static Bool isConfigureNotify(Display *dpy, XEvent *ev, XPointer win)
    56 {
    56 {
    57     return ev->type == ConfigureNotify && ev->xunmap.window == *((Window*)win);
    57     return ev->type == ConfigureNotify && ev->xunmap.window == *((Window*)win);
    58 }
       
    59 static Bool isFocusOut(Display *dpy, XEvent *ev, XPointer win)
       
    60 {
       
    61     return ev->type == FocusOut && ev->xunmap.window == *((Window*)win);
       
    62 }
       
    63 static Bool isFocusIn(Display *dpy, XEvent *ev, XPointer win)
       
    64 {
       
    65     return ev->type == FocusIn && ev->xunmap.window == *((Window*)win);
       
    66 }
    58 }
    67 
    59 
    68 static SDL_bool
    60 static SDL_bool
    69 X11_IsWindowLegacyFullscreen(_THIS, SDL_Window * window)
    61 X11_IsWindowLegacyFullscreen(_THIS, SDL_Window * window)
    70 {
    62 {