1. 05 Jul, 2019 1 commit
    • Ankit Nautiyal's avatar
      clients: Add content-protection client app · 8b40deaa
      Ankit Nautiyal authored
      This patch adds a client app which can be used to show the
      implementation of weston content-protection protocol. The app can
      request for Type-0 and Type-1 content or request for disabling
      content-protection to the content-protection server.
      It listens for the content-protection status change event from the
      server and accordingly display the required content.
      The content Type-0, Type-1 and unprotected contents are prepared
      using cairo surface, with different color and text to distinguish
      between the contents.
      Signed-off-by: Ankit Nautiyal's avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
  2. 27 Jun, 2019 1 commit
  3. 26 Jun, 2019 1 commit
    • '-''s avatar
      desktop-shell: Click top left and align clock · c505af88
      '-' authored
      Pads launchers with the empty space that used to be around them. Moving
      pointer to 0,0 and clicking launches the preferred app. First launcher
      has more padding at its start to look nice.
      Moves the clock to the right edge with same padding. Keeps one of the
      two values for text extents that the code was already retrieving but
      never read. Horizontal panel position centers the clock.
      Sets text in the panel, meaning tooltips and the clock, to consistent 14
      units of the default system font at 85% of the max brightness, so it's
      less tiring on eyes.
  4. 25 Jun, 2019 1 commit
  5. 02 May, 2019 1 commit
    • Antonio Borneo's avatar
      log: remove "%m" from format strings by using strerror(errno) · 39578636
      Antonio Borneo authored
      The printf() format specifier "%m" is a glibc extension to print
      the string returned by strerror(errno). While supported by other
      libraries (e.g. uClibc and musl), it is not widely portable.
      In Weston code the format string is often passed to a logging
      function that calls other syscalls before the conversion of "%m"
      takes place. If one of such syscall modifies the value in errno,
      the conversion of "%m" will incorrectly report the error string
      corresponding to the new value of errno.
      Remove all the occurrences of the specifier "%m" in Weston code
      by using directly the string returned by strerror(errno).
      While there, fix some minor indentation issue.
      Signed-off-by: Antonio Borneo's avatarAntonio Borneo <borneo.antonio@gmail.com>
  6. 29 Apr, 2019 1 commit
    • Antonio Borneo's avatar
      clients: close unused keymap fd · 4071225c
      Antonio Borneo authored
      In the simple examples in which keymap is not handled, the open
      descriptor has to be properly closed.
      After each suspend/resume sequence the keymap is send again to
      every client. On client weston-simple-egl the leak causes a
      segfault when no more file descriptors can be opened.
      Close the file descriptor and lazily copy/paste the comment
      already available in simple-dmabuf-v4l.
      Signed-off-by: Antonio Borneo's avatarAntonio Borneo <borneo.antonio@gmail.com>
  7. 20 Apr, 2019 1 commit
  8. 19 Apr, 2019 2 commits
  9. 18 Apr, 2019 4 commits
  10. 14 Apr, 2019 1 commit
    • Luca Weiss's avatar
      Fix incorrect include · 923a1e96
      Luca Weiss authored
      In file included from ../clients/multi-resource.c:38:                                                                                       
      /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]                               
       #warning redirecting incorrect #include <sys/poll.h> to <poll.h>                                                                            
  11. 04 Apr, 2019 1 commit
  12. 28 Mar, 2019 2 commits
  13. 05 Mar, 2019 1 commit
  14. 20 Feb, 2019 1 commit
  15. 15 Feb, 2019 1 commit
    • Anthony Enrione's avatar
      clients: use xdg_shell stable instead of v6 · f99fac22
      Anthony Enrione authored
      Now that Weston supports the stable revision, use it. Better to excercise the
      current rather than outdated protocol.
      - split the patch, rewrote commit message
      - rename xdg_shell_ping to xdg_wm_base_ping
      - rename xdg_shell_listener to wm_base_listener
      - rename shell to wm_base
      - fix continued line alignment
      - drop unrelated change of adding parentheses around bit-wise and
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.com>
  16. 06 Feb, 2019 5 commits
  17. 31 Jan, 2019 4 commits
  18. 17 Jan, 2019 3 commits
  19. 31 Dec, 2018 2 commits
    • Pekka Paalanen's avatar
      meson: contain and check simple-dmabuf-egl deps · 4b29ffdd
      Pekka Paalanen authored
      Check the egl, glesv2 and gbm dependencies locally instead of relying on
      the dep_* variables from the top level meson.build or
      libweston/meson.build (dep_gbm).
      This should make these dependencies now explicitly checked when the app
      is built, rather than relying on other components doing the checks. If
      the drm-backend was disabled, this would have probably hit an error
      using the undeclared variable dep_gbm.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
    • Pekka Paalanen's avatar
      meson: fix pangocairo being optional · 182d3771
      Pekka Paalanen authored
      Cannot use dependency() directly in the structure, because it will
      execute regardless of the option. Instead, let's store the dependency
      name in the structure and use the same logic as with simple_clients to
      conditionally look for the dependencies.
      As a bonus, this brings friendly error messages to demo-clients
      subsurfaces' dependencies are also converted to maintain consistency
      with simple_clients.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
  20. 18 Dec, 2018 4 commits
  21. 15 Dec, 2018 2 commits
    • Marius Vlad's avatar
      Fix compiler warning: unused variable when building with DEBUG · 0161802a
      Marius Vlad authored
      clients/keyboard.c: In function 'dbg':
      clients/keyboard.c:276:6: warning: variable 'l' set but not used [-Wunused-but-set-variable]
        int l;
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad0@gmail.com>
    • Marius Vlad's avatar
      Fix compiler warnings: invalid type format · acec383b
      Marius Vlad authored
      This patch fixes the following warnings:
      clients/weston-info.c: In function 'print_tablet_tool_info':
      clients/weston-info.c:569:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' [-Wformat=]
         printf("\t\t\thardware serial: %lx\n", info->hardware_serial);
      clients/weston-info.c:572:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' [-Wformat=]
         printf("\t\t\thardware wacom: %lx\n", info->hardware_id_wacom);
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad0@gmail.com>