1. 28 Nov, 2019 4 commits
    • Daniel Stone's avatar
      option-parser: Make bools boolean · dd8219b3
      Daniel Stone authored
      When option-parser is confronted with a boolean option, have it write a
      bool rather than treating the value as a pointer to an int32.
      
      (lib)weston already heavily uses bool types internally, so this has the
      nice side effect of eliminating quite a few local variables which only
      existed as integer shadows of internal boolean variables.
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      dd8219b3
    • Daniel Stone's avatar
      tests/config-parser: Remove useless duplicate test · b8c39264
      Daniel Stone authored
      test012 and test013 were exact duplicates of each other: asserting that
      they could successfully look up a single boolean value.
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      b8c39264
    • Daniel Stone's avatar
      config-parser: Make get_bool be bool · 51d995ad
      Daniel Stone authored
      Wayland innovated a lot of cool things, but non-binary boolean values is
      the great advances of our time.
      
      Make config_parser_get_bool() work on boolean values, and switch all its
      users.
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      51d995ad
    • Simon Ser's avatar
      clients: drop simple-dmabuf-drm · 0a4f6e7d
      Simon Ser authored
      This client contains driver-specific code to allocate buffers. However clients
      shouldn't contain driver-specific code and should rely on e.g. mesa to allocate
      buffers via standard interfaces.
      
      Additionally, because the build system always tries to enable all features, some
      experimental drivers and drivers that aren't included in amd64 distribution
      packages were required. Users would need to manually disable some drivers.
      Releasers would need to install libdrm from source (because the release process
      forbids adding custom build flags). Dropping simple-dmabuf-drm simplifies both
      building and releasing.
      
      The functionality previously tested via simple-dmabuf-drm can now be tested with
      simple-dmabuf-egl.
      Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
      0a4f6e7d
  2. 27 Nov, 2019 7 commits
  3. 26 Nov, 2019 2 commits
  4. 25 Nov, 2019 10 commits
  5. 23 Nov, 2019 3 commits
  6. 22 Nov, 2019 11 commits
  7. 21 Nov, 2019 3 commits
    • JeffyChen's avatar
      clients: Add more sanity checks to catch destroyed window · 97749170
      JeffyChen authored
      Add a sanity check to touch_handle_down() and data_device_enter() as
      what we did for pointer and keyboard.
      Signed-off-by: JeffyChen's avatarJeffy Chen <jeffy.chen@rock-chips.com>
      97749170
    • JeffyChen's avatar
      clients: Drop corresponding touch points when destroying windows · 179458ad
      JeffyChen authored
      This is to avoid memory leaking of these touch points.
      Signed-off-by: JeffyChen's avatarJeffy Chen <jeffy.chen@rock-chips.com>
      179458ad
    • Olivier Fourdan's avatar
      xwm: Use Xwayland allow commits for repaint · f568968f
      Olivier Fourdan authored
      Initially, `_XWAYLAND_ALLOW_COMMITS` was introduced in commit 7ace831c
      to avoid drawing the window content before it's ready to be shown.
      
      But a repaint might also be triggered by the client damages before the
      XWM has finished drawing its window decorations and drop shadows, which
      previously was not too much of an issue since the XWM could still
      finish updating the X11 window after the buffer was submitted.
      
      However, with the addition of multiple window buffers in Xwayland [1]
      which are aimed at preventing the X11 clients from updating the buffer
      after it's been committed, this is no longer possible.
      
      As a result, the use of multiple window buffers in Xwayland can cause
      ugly repainting effects of the decorations if the buffer is submitted
      before the XWM has finished painting its decorations.
      
      Use the X11 property `_XWAYLAND_ALLOW_COMMITS` can be used to avoid
      this, by controlling when Xwayland should commit changes to the Wayland
      surface.
      
      [1] xorg/xserver!316Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
      f568968f