• Marco Trevisan (Treviño)'s avatar
    X11: Move to XSetWMProperties and add support to _NET_WM_PID · 8279896d
    Marco Trevisan (Treviño) authored
    Use the convenience function XSetWMProperties to set size, input
    and class hints, it also automatically sets the WM_CLIENT_MACHINE
    (this one needed by _NET_WM_PID) and WM_LOCALE_NAME windows hints.
    
    Plus we add support to the _NET_WM_PID atom which is needed by many
    windows managers to correctly associate a SDL window to its process
    and to related .desktop file and icon for the given host.
    8279896d
SDL_x11video.c 11.6 KB