1. 27 Apr, 2021 2 commits
  2. 16 Apr, 2021 2 commits
  3. 15 Apr, 2021 2 commits
  4. 02 Apr, 2021 1 commit
  5. 26 Mar, 2021 1 commit
  6. 22 Mar, 2021 1 commit
  7. 05 Mar, 2021 2 commits
  8. 25 Feb, 2021 1 commit
  9. 22 Feb, 2021 1 commit
  10. 27 Jan, 2021 4 commits
  11. 20 Jan, 2021 1 commit
  12. 19 Jan, 2021 1 commit
  13. 13 Jan, 2021 1 commit
  14. 06 Jan, 2021 1 commit
  15. 28 Dec, 2020 1 commit
    • Simon Ser's avatar
      Remove TODO · d01dee97
      Simon Ser authored
      
      
      These TODO items are outdated (either done or not applicable anymore). Let's
      migrate items that we want to keep to GitLab issues.
      Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
      d01dee97
  16. 23 Dec, 2020 1 commit
  17. 21 Dec, 2020 1 commit
  18. 17 Dec, 2020 6 commits
  19. 29 Oct, 2020 5 commits
    • Simon Ser's avatar
      protocol: deprecate non-current wl_output.mode · 6741dafb
      Simon Ser authored
      
      
      The current wl_output.mode event has several issues when used to advertise
      modes that aren't current:
      
      - It's not possible to remove some modes. This is an issue for virtual
        outputs and when the kernel prunes some modes because of link limitations.
      - wl_output.mode fails to carry metadata such as aspect ratio, which results
        in duplicated or missing modes.
      - It's not clear, given the current set of protocols, how non-current modes
        are useful to clients. Xwayland ignores non-current modes.
      
      GNOME and wlroots already only advertise the current mode because of these
      issues.
      
      If a protocol needs the clients to know about all available modes, it should
      advertise these modes itself instead of relying on wl_output.mode.
      Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
      Closes: #92
      6741dafb
    • Simon Ser's avatar
      protocol: make it clear wl_surface.enter/leave are not for frame throttling · d42b39cc
      Simon Ser authored
      
      
      Some clients rely on wl_surface.enter/leave to start/stop their rendering
      loop.
      
      There are cases where this doesn't work:
      
      - Some compositors don't send wl_surface.leave when a toplevel is hidden.
        For instance Sway doesn't send this event when a toplevel is on an inactive
        workspace (but doesn't send wl_surface.frame events).
      - Some compositors might still want applications to continue to render even if
        away from outputs. For instance a compositor that allows to screen record
        individual toplevels might not send a wl_surface.enter event for hidden
        toplevels.
      Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
      d42b39cc
    • Ganjing0224's avatar
    • Alyssa Ross's avatar
      doc: make reproducible · e53e0edf
      Alyssa Ross authored
      
      
      This setting makes Docbook section IDs consistent, and should allow
      Wayland builds that include documentation to be fully reproducible.
      Signed-off-by: Alyssa Ross's avatarAlyssa Ross <hi@alyssa.is>
      e53e0edf
    • Nick Yamane's avatar
      protocol: Clarify how clients can cancel a drag operation · 53dd9979
      Nick Yamane authored
      
      
      Explicitly say that destroying a wl_data_source previously used in a
      wl_data_device::start_drag request will cancel the DND session. This
      is currently the only way to do it from client side (besides those
      "indirect" ones already documented) and all compositors work like that
      but it is not clear spec-wise it is the expected behaviour.
      Signed-off-by: Nick Yamane's avatarNick Diego Yamane <nickdiego@igalia.com>
      53dd9979
  20. 04 Sep, 2020 2 commits
    • Valentin's avatar
      Fix undefined behavior · 1ab6a818
      Valentin authored
      
      
      Without the casts the bytes accesses get converted to int. but int is
      not guaranteed to be 4 bytes large. Even when it is 4 bytes large
      `bytes[3] << 24` does not fit because int is signed.
      Signed-off-by: default avatarValentin Kettner <vakevk@gmail.com>
      1ab6a818
    • Valentin's avatar
      Use fixed size integer type · fc3beac7
      Valentin authored
      
      
      This type is meant to be 4 bytes large as seen in _XcursorReadUInt which
      always reads 4 bytes. An unsigned int is often 4 bytes large but this
      isnt' guaranteed so it is cleaner to use the exact type we want.
      Signed-off-by: default avatarValentin Kettner <vakevk@gmail.com>
      fc3beac7
  21. 18 Aug, 2020 1 commit
  22. 14 Aug, 2020 1 commit
  23. 16 Jun, 2020 1 commit
    • Simon Ser's avatar
      protocol: disambiguate key codes in wl_keyboard.key · 1dfd2169
      Simon Ser authored
      
      
      Explain that wl_keyboard.key yields platform-specific key codes.
      Some compositors use Linux key codes (defined in the
      linux/input-event-codes.h header file, e.g. KEY_ESC), however
      clients should not assume that this is always the case. The only
      reliable way for clients to interpret key codes is to feed them
      into a keyboard mapping.
      Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
      1dfd2169