1. 14 May, 2019 11 commits
    • Ilia Bozhinov's avatar
      rootston: add support for foreign-toplevel fullscreening · 757e9c15
      Ilia Bozhinov authored
      (cherry picked from commit 8cc08598146b2780ae127713f58b182ed8b11f7c)
      757e9c15
    • emersion's avatar
      rootston: fix damage tracking debug mode · b9ebef18
      emersion authored
      We want to damage the whole output in this mode. However if we overwrite the
      damaged region after it's useless.
      
      Fixes: 57d32d03a87ab4a74230294cefc5fa8b1e28c96d
      (cherry picked from commit 8b1220f5a32376578fb2ddc39ba174f455859689)
      b9ebef18
    • emersion's avatar
      rootston: don't submit too much damage · cb3eede6
      emersion authored
      We only need to damage the parts of the screen that changed since last frame,
      we don't need to accumulate damage from previous buffers.
      
      We still need to re-render the accumulated damage.
      
      Fixes https://github.com/swaywm/wlroots/issues/1665
      
      (cherry picked from commit 57d32d03a87ab4a74230294cefc5fa8b1e28c96d)
      cb3eede6
    • Drew DeVault's avatar
      Remove wlr_wl_shell · 1e7f5e02
      Drew DeVault authored
      (cherry picked from commit 736632ad4ed349bd5aea0c2120977b745325672d)
      1e7f5e02
    • emersion's avatar
      output: rename needs_commit to needs_frame · 61ac7bc3
      emersion authored
      This new name makes more sense, since it is a request from the backend to get
      a new frame. In the future a commit may not convey a new frame.
      
      (cherry picked from commit 20690346c7a9f75cfb181cb613b8f006e6ce3e14)
      61ac7bc3
    • emersion's avatar
      output-damage: refactor API · 2a90a474
      emersion authored
      wlr_output_damage_make_current has been renamed to
      wlr_output_damage_attach_render, since it's just a wrapper for
      wlr_output_attach_render.
      
      wlr_output_damage_swap_buffers has been removed completely. Instead,
      wlr_output_damage now listens to successful wlr_output commits and updates its
      internal state accordingly.
      
      (cherry picked from commit 5e6766a165bd4bc71f1dc24c4348f7be0f020ddd)
      2a90a474
    • emersion's avatar
      rootston: use wlr_output_preferred_mode · 588b12b6
      emersion authored
      Also fix rootston setting the preferred mode when another mode is specified in
      the config file.
      
      (cherry picked from commit 56ceed38bffcc741b5a80741d0207101905370ae)
      588b12b6
    • Alyssa Ross's avatar
      Fix missing headers when building without X11 · d79ff0a7
      Alyssa Ross authored
      The deleted includes are redundant, because other headers will include
      the necessary files. Additionally, they cause build failures, because
      including EGL/egl.h or EGL/eglext.h directly, instead of through
      wlr/render/egl.h or wlr/render/interface.h, will mean that
      MESA_EGL_NO_X11_HEADERS will not have been defined, and so the EGL
      headers will attempt to pull in unnecessary X11 headers that may not
      exist on the system.
      
      For the headers produced by glgen.sh, the includes couldn't simply be
      deleted, because no other header would include the EGL headers. Neither
      wlr/render/egl.h or wlr/render/interface.h felt appropriate to include,
      so I opted instead to copy the MESA_EGL_NO_X11_HEADERS definition before
      the EGL includes.
      
      (cherry picked from commit 95b22619e08adc3d407925c5eb4758dd9164c8fa)
      d79ff0a7
    • Ilia Bozhinov's avatar
      rootston: remove disabled outputs from the output layout · 0d7e8b8f
      Ilia Bozhinov authored
      We should also be careful when using wlr_output_layout_get_box(), since
      it may return null.
      
      (cherry picked from commit 7a2f929201dfa8a939dae36476df2735386dad2b)
      0d7e8b8f
    • emersion's avatar
      output: remove lx, ly · e7e34f5e
      emersion authored
      Fixes https://github.com/swaywm/wlroots/issues/1610
      
      (cherry picked from wlroots commit 1515c56caef9ee670d9ddb6dd748f2ce9d5523f0)
      e7e34f5e
    • Guido Gunther's avatar
      Update wlroots to 0.6.0 · 6e2399bf
      Guido Gunther authored
      6e2399bf
  2. 24 Apr, 2019 1 commit
    • Guido Gunther's avatar
      layer-shell: Don't dereference gone output · 6f93f83e
      Guido Gunther authored
      otherwise we might crash on output unplug like
      
      ==11985==Hint: address points to the zero page.
          #0 0x55ef58999dd7 in handle_unmap ../src/layer_shell.c:354
          #1 0x7f82b6f6f618 in wlr_signal_emit_safe ../subprojects/wlroots/util/signal.c:29
          #2 0x7f82b6f4613e in layer_surface_unmap ../subprojects/wlroots/types/wlr_layer_shell_v1.c:162
          #3 0x7f82b6f47b8b in wlr_layer_surface_v1_close ../subprojects/wlroots/types/wlr_layer_shell_v1.c:249
          #4 0x7f82b6f6f618 in wlr_signal_emit_safe ../subprojects/wlroots/util/signal.c:29
          #5 0x7f82b6eddd51 in drm_connector_cleanup ../subprojects/wlroots/backend/drm/drm.c:1446
          #6 0x7f82b6ee32c1 in scan_drm_connectors ../subprojects/wlroots/backend/drm/drm.c:1238
          #7 0x7f82b6f6f618 in wlr_signal_emit_safe ../subprojects/wlroots/util/signal.c:29
          #8 0x7f82b6ef4e0b in udev_event ../subprojects/wlroots/backend/session/session.c:52
          #9 0x7f82b68aeb71 in wl_event_loop_dispatch (/usr/lib/x86_64-linux-gnu/libwayland-server.so.0+0xab71)
          ...
      6f93f83e
  3. 15 Apr, 2019 1 commit
  4. 12 Apr, 2019 7 commits
  5. 28 Mar, 2019 1 commit
  6. 26 Mar, 2019 3 commits
  7. 25 Mar, 2019 16 commits