1. 17 Jan, 2022 1 commit
    • Isaac Freund's avatar
      foreign-toplevel: send enter if needed on output bind · 1bd0ea3a
      Isaac Freund authored
      Currently the output enter event is never sent if the client has not
      yet bound the output, which happens every time the compositor creates a
      new output.
      To fix this, listen for the output bind event and inform clients as
      if needed.
  2. 16 Jan, 2022 1 commit
  3. 14 Jan, 2022 1 commit
  4. 13 Jan, 2022 6 commits
  5. 09 Jan, 2022 1 commit
    • Simon Ser's avatar
      readme: drop mention of the Sway project · 6cdf843a
      Simon Ser authored
      wlroots has historically been started as a Sway project, but these
      days many wlroots contributors are working on other compositors.
      wlroots now also has its own namespace on gitlab.freedesktop.org.
      Let's remove the mention about Sway in the README, to make it clearer
      that Sway isn't treated in a special manner when it comes to wlroots
  6. 08 Jan, 2022 1 commit
    • Kirill Primak's avatar
      scene/subsurface_tree: fix handling subsurface destruction · 83ab5055
      Kirill Primak authored and Simon Ser's avatar Simon Ser committed
      This commit renames map/unmap listeners to clarify that they handle
      subsurface events, and ensures the node is always destroyed before
      the subsurface.
      Without this patch, wl_list_remove() would operate on listener links in
      already freed memory. glibc is usually lenient to bugs like this, but
      musl isn't.
  7. 05 Jan, 2022 1 commit
    • Tom Hebb's avatar
      render/gles2: don't constrain shm formats to ones that support reading · 59b9518f
      Tom Hebb authored
      commit 44e8451c ("render/gles2: hide shm formats without GL
      support") added the is_gles2_pixel_format_supported() function to
      render/gles2/pixel_format.c, whose stated purpose is to "check whether
      the renderer has the needed GL extensions to read a given pixel format."
      It then used that function to filter the pixel formats returned by
      The result of this change is that RGB formats are no longer reported for
      GL drivers that don't implement EXT_read_format_bgra, even when those
      formats are supported for rendering (which they have to be for
      wlr_gles2_renderer_create() to succeed). This is a pretty clear
      regression, since wlr_renderer_init_wl_shm() fails when either of
      WL_SHM_FORMAT_ARGB8888 or WL_SHM_FORMAT_XRGB8888 are missing.
      To fix the regression, change is_gles2_pixel_format_supported() to
      accept all pixel formats that support rendering, regardless of whether
      we can read them or not, and move the check for EXT_read_format_bgra
      back into gles2_read_pixels(). (There's already a check for this
      extension in gles2_preferred_read_format(), so we're not breaking any
      abstraction that wasn't already broken.)
      Tested on the NVIDIA 495.46 proprietary driver, which doesn't support
      Fixes: 44e8451c ("render/gles2: hide shm formats without GL support")
  8. 26 Dec, 2021 1 commit
  9. 23 Dec, 2021 1 commit
  10. 20 Dec, 2021 2 commits
    • Isaac Freund's avatar
      wlr_texture: remove wlr_texture_from_wl_drm() from header · 823476e7
      Isaac Freund authored
      This function was already removed in e5b5592a but it was forgotten to
      remove it from the header.
    • Simon Ser's avatar
      backend: error out in autocreate without libinput support · ec284575
      Simon Ser authored and Simon Zeni's avatar Simon Zeni committed
      The libinput backend is now optional. However, this means that a
      user building wlroots without the correct libinput dependencies
      will end up with a compositor which doesn't respond to input events.
      wlr_backend_autocreate is supposed to return a sensible setup, so in
      this case let's just error out and explain what happened. Users can
      suppress the check by setting WLR_LIBINPUT_NO_DEVICES=1 (already used
      to suppress the zero input device case inside the libinput backend).
      Compositors which really want to create a bare DRM backend can easily
      create it manually instead of using wlr_backend_autocreate.
  11. 19 Dec, 2021 1 commit
  12. 17 Dec, 2021 4 commits
  13. 15 Dec, 2021 2 commits
  14. 14 Dec, 2021 7 commits
  15. 13 Dec, 2021 8 commits
  16. 09 Dec, 2021 2 commits