• Show log

    Commit

  • Hash : 18303c92
    Author : David Gow
    Date : 2021-07-28T18:06:34

    Wayland: Fix building with --disable-wayland-shared with libdecor.
    
    When wayland is not dynamically loaded (--enable-wayland-shared=no)
    libdecor.h is not included unless SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC
    is set, so it fails to build.  We can't simply move the libdecor.h
    include above the #ifdef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC block, as
    libdecor.h itself #includes wayland headers we need to replace with
    #defines. Instead, duplicate the #include.
    
    Fixes https://github.com/libsdl-org/SDL/issues/4543
    
    Note that this doesn't fix any of the underlying issues of libdecor
    being treated as part of wayland, it just fixes the build. A better
    solution would probably be to decouple the wayland dynamic loading
    from the libdecor dynamic loading completely, though that is a lot
    more work...
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w thodg_l www_kmx_io thodg
    Tags

  • README.md

  • Simple DirectMedia Layer (SDL) Version 2.0

    https://www.libsdl.org/

    Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve’s award winning catalog and many Humble Bundle games.

    More extensive documentation is available in the docs directory, starting with README.md

    Enjoy!

    Sam Lantinga (slouken@libsdl.org)