Skip to content
  • Michael Natterer's avatar
    gdk: fix gdk_keyval_to_lower/upper() for Quartz, Win32 and Broadway · 5b74ee38
    Michael Natterer authored and Michael Natterer's avatar Michael Natterer committed
    In 2.x, the !HAVE_XCONVERTCASE fallback of keyval_convert_case() was
    implicitly used as implementation for all !X11 backends.
    
    In 3.x, when this function was virtualized in GdkDisplayManager,
    this fallback was moved to the X11 backend and the other backends
    "equipped" with /* FIXME implement */ implementations of
    keyval_convert_case() which don't convert anything.
    
    Move the fallback code back to gdk/ as default implementation
    of GdkDisplayManager::keyval_convert_case() and remove its
    implementations is all backends but X11. Also remove the
    implementation in Wayland which was a plain copy of what
    is now the default implementation.
    (cherry picked from commit f46c1b76)
    5b74ee38