include/SDL_hints.h
changeset 9899 25d1e99080ce
parent 9868 c30778c4267d
child 9998 f67cf37e9cd4
     1.1 --- a/include/SDL_hints.h	Tue Oct 27 11:17:32 2015 -0700
     1.2 +++ b/include/SDL_hints.h	Tue Oct 27 11:18:04 2015 -0700
     1.3 @@ -186,6 +186,20 @@
     1.4  #define SDL_HINT_VIDEO_X11_XRANDR           "SDL_VIDEO_X11_XRANDR"
     1.5  
     1.6  /**
     1.7 + *  \brief  A variable controlling whether the X11 _NET_WM_PING protocol should be supported.
     1.8 + *
     1.9 + *  This variable can be set to the following values:
    1.10 + *    "0"       - Disable _NET_WM_PING
    1.11 + *    "1"       - Enable _NET_WM_PING
    1.12 + *
    1.13 + *  By default SDL will use _NET_WM_PING, but for applications that know they
    1.14 + *  will not always be able to respond to ping requests in a timely manner they can
    1.15 + *  turn it off to avoid the window manager thinking the app is hung.
    1.16 + *  The hint is checked in CreateWindow.
    1.17 + */
    1.18 +#define SDL_HINT_VIDEO_X11_NET_WM_PING      "SDL_VIDEO_X11_NET_WM_PING"
    1.19 +
    1.20 +/**
    1.21   *  \brief  A variable controlling whether the window frame and title bar are interactive when the cursor is hidden 
    1.22   *
    1.23   *  This variable can be set to the following values: