1. 18 Apr, 2019 3 commits
  2. 28 Mar, 2019 1 commit
    • Pekka Paalanen's avatar
      Remove autotools build · fc76388f
      Pekka Paalanen authored
      Weston 6.0.0 was released with both autotools and Meson build systems. That
      should be enough for downstream to migrate to Meson build on their on pace.
      Maintaining two build systems is a hassle, keep the one that is easier to work
      with and let the other one go.
      doc/dozygen/tool*.doxygen.in are not deleted, because they have not been
      integrated with Meson yet.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.com>
  3. 15 Feb, 2019 1 commit
    • 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>
  4. 31 Jan, 2019 1 commit
  5. 09 Dec, 2018 1 commit
    • Daniel Stone's avatar
      Add Meson build system · 8011b0fa
      Daniel Stone authored
      Meson is a build system, currently implemented in Python, with multiple
      output backends, including Ninja and Make. The build file syntax is
      clean and easy to read unlike autotools. In practise, configuring and
      building with Meson and Ninja has been observed to be much faster than
      with autotools. Also cross-building support is excellent.
      More information at http://mesonbuild.com
      Since moving to Meson requires some changes from users in any case, we
      took this opportunity to revamp build options. Most of the build options
      still exist, some have changed names or more, and a few have been
      dropped. The option to choose the Cairo flavour is not implemented since
      for the longest time the Cairo image backend has been the only
      recommended one.
      This Meson build should be fully functional and it installs everything
      an all-enabled autotools build does. Installed pkg-config files have
      some minor differences that should be insignificant. Building of some
      developer documentation that was never installed with autotools is
      It is expected that the autotools build system will be removed soon
      after the next Weston release.
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      Co-authored-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
  6. 02 Nov, 2018 1 commit
  7. 10 Apr, 2018 1 commit
  8. 15 Mar, 2018 1 commit
  9. 15 Feb, 2018 1 commit
    • Alexandros Frantzis's avatar
      libweston: Make weston_seat release safe · 8480d13f
      Alexandros Frantzis authored
      Ensure the server can safely handle client requests for wl_seat resource
      that have become inert due to weston_seat object release and subsequent
      The clean-up involves, among other things, unsetting the destroyed
      weston_seat object from the user data of wl_seat resources, and handling
      this NULL user data case where required.
      The list of sites extracting and using weston_seat object from wl_seat
      resources which were audited for this patch are:
      N/A = Not Applicable (not implemented by weston)
      FIXED = Fixed in the commit
      OK = Already works correctly
      == keyboard_shortcuts_inhibit_unstable_v1 ==
      [N/A] zwp_keyboard_shortcuts_inhibit_manager_v1.inhibit_shortcuts
      == tablet_input_unstable_v{1,2} ==
      [N/A] zwp_tablet_manager_v{1,2}.get_tablet_seat
      == text_input_unstable_v1 ==
      [FIXED] zwp_text_input_v1.activate
      [FIXED] zwp_text_input_v1.deactivate
      == wl_data_device ==
      [FIXED] wl_data_device_manager.get_data_device
      [OK] wl_data_device.start_drag
      [FIXED] wl_data_device.set_selection
      [OK] wl_data_device.release
      == wl_shell ==
      [FIXED] wl_shell_surface.move
      [FIXED] wl_shell_surface.resize
      [FIXED] wl_shell_surface.set_popup
      == xdg_shell and xdg_shell_unstable_v6 ==
      [FIXED] xdg_toplevel.show_window_menu
      [FIXED] xdg_toplevel.move
      [FIXED] xdg_toplevel.resize
      [FIXED] xdg_popup.grab
      == xdg_shell_unstable_v5 ==
      [FIXED] xdg_shell.get_xdg_popup
      [FIXED] xdg_surface.show_window_menu
      [FIXED] xdg_surface.move
      [FIXED] xdg_surface.resize
      Signed-off-by: Alexandros Frantzis's avatarAlexandros Frantzis <alexandros.frantzis@collabora.com>
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-by: Quentin Glidic's avatarQuentin Glidic <sardemff7+git@sardemff7.net>
  10. 14 Feb, 2018 1 commit
  11. 11 Dec, 2017 1 commit
  12. 08 Dec, 2017 1 commit
  13. 27 Nov, 2017 7 commits
  14. 10 Nov, 2017 1 commit
  15. 18 Oct, 2017 1 commit
  16. 30 Aug, 2017 1 commit
  17. 05 Aug, 2017 1 commit
  18. 27 Jul, 2017 1 commit
  19. 26 Jul, 2017 1 commit
  20. 25 Jul, 2017 1 commit
  21. 21 Jul, 2017 1 commit
  22. 20 Jul, 2017 1 commit
  23. 18 Jul, 2017 1 commit
  24. 12 Jul, 2017 2 commits
  25. 25 Jun, 2017 2 commits
  26. 13 Apr, 2017 1 commit
  27. 18 Jan, 2017 1 commit
    • Pekka Paalanen's avatar
      libweston-desktop: add set_xwayland_position API · 37111e15
      Pekka Paalanen authored
      X11 applications expect -geometry command line option to work for
      setting the initial window position, but currently this does not work.
      Add provision to relay the initial position through libweston-desktop:
      - weston_desktop_api gains a new entry set_xwayland_position
      - implement set_toplevel_with_position() in xwayland internal interface
      Once xwayland plugin starts calling set_toplevel_with_position(),
      libweston-desktop can relay that information to a shell if the shell
      wants to hear it.
      If a shell does not implement the set_xwayland_position hook, the
      old behaviour remains: the shell positions xwayland toplevels like any
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-by: Quentin Glidic's avatarQuentin Glidic <sardemff7+git@sardemff7.net>
      Reviewed-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
  28. 17 Jan, 2017 2 commits
  29. 08 Dec, 2016 1 commit