[PATCH] net_wm_fullscreen for SDL1.2

Hi

I’ve updated the X11 port of SDL 1.2 to use NET_WM_FULLSCREEN to request
hiding of panels and other window manager elements when in Fullscreen mode.

I tested my patch with a range of SDL 1.2 applications and haven’t had
any problems except for the Known issues listed below. Thus i think the
patch is stable enough for inclusion and hope that others will help me
with fixing the remaining problems.

Known issues:

  • The patch lacks compatibility with window managers which don’t support
    the NET_WM_FULLSCREEN Atom
  • There are some mouse grabbing issues, mostly when repeatedly leaving
    the window or changing focus
  • SDL occasionally crashes when minimizing the Window
    -------------- next part --------------
    A non-text attachment was scrubbed…
    Name: netwm_fullscreen.patch
    Type: text/x-patch
    Size: 26713 bytes
    Desc: not available
    URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110626/2dd1fef4/attachment.bin

Known issues:

  • The patch lacks compatibility with window managers which don’t support
    the NET_WM_FULLSCREEN Atom
  • There are some mouse grabbing issues, mostly when repeatedly leaving
    the window or changing focus
  • SDL occasionally crashes when minimizing the Window

Was there any more motion on this patch? I can’t apply it if it
occasionally crashes. :slight_smile:

–ryan.