• Anthony Enrione's avatar
    libweston-desktop: implement the new xdg_shell (stable) protocol · d8d9f5e6
    Anthony Enrione authored
    Some clients like the mpv video player now request the xdg_shell
    protocol so these will fail if the compositor only provides the
    xdg_shell_unstable_v6 protocol. Compositors like mir and gnome provide
    both protocols.
    The two protocols are very similar therefore the code in xdg-shell-v6.c
    has been refactored to work with the new xdg_shell protocol and now
    resides in xdg-shell.c.
    - split the patch
    - fix continued line alignment
    - allow anchor_rect to initially have zero dimensions
    - account for get_popup allowing NULL parent surface
    Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.com>
    Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
Makefile.am 53.3 KB