Skip to content
Snippets Groups Projects
  1. Mar 29, 2019
    • Andre Moreira Magalhaes's avatar
      input: Add support for zwp_text_input_v3 and zwp_input_method_v2 · d9100ab6
      Andre Moreira Magalhaes authored
      
      Some clients such as gtk+3 require the zwp_text_input_v3 protocol for
      input-method handling. This patch adds this protocol support to text-backend and also
      modifies weston-keyboard to support zwp_input_method_v2, which is an update
      for the v1 protocol and aligned with the updated text-input protocol.
      
      The patch also adds support for zwp_virtual_keyboard_v1, used to emulate the
      behaviour of a physical keyboard.
      
      Note that the updated input-method v2 protocol does not support the input-panel interface
      as it did on v1. The input panel interface is implemented by desktop-shell to properly
      display the virtual keyboard interface.
      To avoid depending on both input method v2 and v1 (for input-panel only), this patch adds
      a new weston-input-panel internal protocol (a copy of the old interface from input-method v1),
      which is then implemented by desktop-shell and used by weston-keyboard when displaying
      its window.
      
      Signed-off-by: default avatarAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>
      d9100ab6
    • Pekka Paalanen's avatar
      build: add missing dep to x11 backend · 651566af
      Pekka Paalanen authored
      
      All other backends already link to libweston, x11 backend should too.
      
      This fixes a build failure:
      
      [1/50] Compiling C object 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o'.
      FAILED: libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o
      cc -Ilibweston/2b98b6d@@x11-backend@sha -Ilibweston -I../../git/weston/libweston -Ilibweston/.. -I../../git/weston/libweston/.. -Ilibweston/../shared -I../../git/weston/libweston/../shared -Iprotocol -I/home/pq/local/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/libdrm -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -g -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -fvisibility=hidden -fPIC  -MD -MQ 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o' -MF 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o.d' -o 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o' -c ../../git/weston/libweston/compositor-x11.c
      ../../git/weston/libweston/compositor-x11.c:51:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
       #include <xkbcommon/xkbcommon.h>
      
      Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
      651566af
  2. Mar 28, 2019
  3. Mar 27, 2019
  4. Mar 21, 2019
  5. Mar 19, 2019
  6. Mar 14, 2019
  7. Mar 06, 2019
    • Philipp Zabel's avatar
      compositor-drm: clear gbm_surface pointer after destroying the GBM surface · 5c8eef14
      Philipp Zabel authored
      
      Since commit ee1d968e ("compositor-drm: Fall back if GBM surface fails with
      modifiers"), drm_output_init_egl requires output->gbm_surface to be NULL, or
      gbm_surface_create will not be called if HAVE_GBM_MODIFIERS is enabled but no
      modifiers are supported by the plane. This could happen if _init_egl is called
      after drm_ouptut_fini_egl drom drm_output_switch_mode.
      
      Add an assert to guarantee the requirement and clears the gbm_surface pointer
      after the surface is destroyed.
      
      Signed-off-by: default avatarPhilipp Zabel <p.pzabel@pengutronix.de>
      5c8eef14
  8. Mar 05, 2019
  9. Feb 25, 2019
  10. Feb 22, 2019
  11. Feb 20, 2019
  12. Feb 19, 2019
  13. Feb 18, 2019
  14. Feb 16, 2019
Loading