- Mar 29, 2019
-
-
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:
Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>
-
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:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
- Mar 28, 2019
-
-
Marius Vlad authored
Signed-off-by:
Marius Vlad <marius.vlad@collabora.com>
-
Marius Vlad authored
With the addition of patch 433f4e77 we display the same view id (0) for every view as we're modifying the local variable. Displaying sub-surfaces based views is also problematic. The caller need to modify the view number as well, so we instead we pass the address as to allow that to happen. Otherwise we end up repeating the same number for views without sub-subrfaces once those have been printed. Signed-off-by:
Marius Vlad <marius.vlad@collabora.com>
-
Pekka Paalanen authored
configure.ac is no more, and in meson.build there are no minor or patch versions for libweston, only major. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Pekka Paalanen authored
There is no automake anymore, I suppose it is ninja that handles it now. There are still a couple references to automake left to point out where the conventions originated, e.g. the exit code 77. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Pekka Paalanen authored
There is no such thing as building in-tree anymore, so no need to ignore build artifacts. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Pekka Paalanen authored
Weston 6.0.0 was released with both autotools and Meson build systems. That should be enough for downstream to migrate to Meson build on their on pace. Maintaining two build systems is a hassle, keep the one that is easier to work with and let the other one go. doc/dozygen/tool*.doxygen.in are not deleted, because they have not been integrated with Meson yet. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Pekka Paalanen authored
This fixes: [ 5s] cc -Ilibweston/2b98b6d@@session-helper@sta -Ilibweston -I../libweston -Ilibweston/.. -I../libweston/.. -Ilibwes ton/../shared -I../libweston/../shared -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib6 4/dbus-1.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wno-unused-parameter -Wno-shift-n egative-value -Wno-missing-field-initializers -fvisibility=hidden -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fPIC -MD -MQ 'libweston/2b98b6d@@session-hel per@sta/launcher-util.c.o' -MF 'libweston/2b98b6d@@session-helper@sta/launcher-util.c.o.d' -o 'libweston/2b98b6d@@sessio n-helper@sta/launcher-util.c.o' -c ../libweston/launcher-util.c [ 5s] In file included from ../libweston/launcher-util.c:29: [ 5s] ../libweston/compositor.h:39:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory [ 5s] #include <xkbcommon/xkbcommon.h> For completeness, also add the same for wayland-server.h. Reported-by:
Jan Engelhardt <jengelh@inai.de> Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Deepak Rawat authored
Copy the damage region to scanout drm_plane_state which will be sent to kernel during atomic state update. Signed-off-by:
Deepak Rawat <drawat@vmware.com>
-
Deepak Rawat authored
The plane property FB_DAMAGE_CLIPS provides a way to mark damaged regions on the plane in framebuffer coordinates of the framebuffer attached to the plane. This patch adds a new member "damage" to compositor version of drm_plane_state and set FB_DAMAGE_CLIPS property whenever damage is available. v2: Rebase, check if plane support FB_DAMAGE_CLIPS property before setting it. Signed-off-by:
Deepak Rawat <drawat@vmware.com>
-
Riku Viitanen authored
-
Benjamin Tissoires authored
Reuse the templates from wayland/ci-templates: whenever DEBIAN_TAG is changed, this will rebuild a new container. This adds two things: - better reliability (we do not randomly pull packages whenever the CI runs and we can reproduce with this particular environment) - faster builds, as we do not need to pull the universe at each run Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com> [Pekka: bump DEBIAN_TAG] Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Alexandros Frantzis authored
gbm_bo_get_handle_for_plane returns handle.s32 == -1 on error, at least for the Mesa dri implementation. Reported-by:
Marius Vlad <marius.vlad@collabora.com> Signed-off-by:
Alexandros Frantzis <alexandros.frantzis@collabora.com>
-
Pekka Paalanen authored
All the GBM code is unconditional in compositor-drm.c, so while disabling the GL-renderer would stop GBM from being used, GBM headers would still be needed for building and GBM library for linking. Leave a note to fix it properly later. At least we now check for GBM and do not mislead with the error message. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Pekka Paalanen authored
remoting-plugin.c calls things like g_error_free() and g_object_set(), so it needs to link glib-2.0 and gobject-2.0 explicitly, instead of relying on GStreamer pkg-config bringing them in. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Pekka Paalanen authored
cms-colord.c calls things like g_string_free() and g_object_unref(), so it needs to link glib-2.0 and gobject-2.0 explicitly, instead of relying on colord pkg-config bringing them in. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Pekka Paalanen authored
editor.c calls g_clear_object(), so it should link to gobject directly instead of relying on pangocairo pulling it in in its pkg-config. Fixes: https://gitlab.freedesktop.org/wayland/weston/issues/211 Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Daniel Stone authored
We loaded the use-pixman configuration value from both the command line and the configuration file, but completely ignored the former. Make sure we actually use both. Tested with all permutations of config/command line. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Tested-by:
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
-
Pekka Paalanen authored
Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Derek Foreman authored
-
- Mar 27, 2019
-
-
Marius Vlad authored
This was introduced with a95bb6f7 (clients: Support explicit synchronization) Signed-off-by:
Marius Vlad <marius.vlad@collabora.com>
-
- Mar 21, 2019
-
-
Derek Foreman authored
-
- Mar 19, 2019
-
-
Stefan Agner authored
When building screen-share module with meson loading the module fails with: [00:01:28.604] Failed to load module: /usr/local/lib/weston/screen-share.so: undefined symbol: os_create_anonymous_file Failed to process Wayland connection: Broken pipe failed to create display: Broken pipe The function os_create_anonymous_file is defined in libshared, adding libshared to the dependency makes sure the function gets compiled into screen-share.so. Fixes: https://gitlab.freedesktop.org/wayland/weston/issues/208 Signed-off-by:
Stefan Agner <stefan@agner.ch>
-
- Mar 14, 2019
-
- Mar 06, 2019
-
-
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:
Philipp Zabel <p.pzabel@pengutronix.de>
-
- Mar 05, 2019
-
-
Philipp Zabel authored
It is all hooked up in clients/meson.build, just the option to enable it was missing. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Alexandros Frantzis authored
Since we are managing and rendering to buffers on our own with GBM, create the EGL display using the GBM platform with the DRM render node, instead of using the Wayland EGL platform. Signed-off-by:
Alexandros Frantzis <alexandros.frantzis@collabora.com>
-
- Feb 25, 2019
-
-
Philipp Zabel authored
gbm_bo_get_handle_for_plane returns -1 on error, not 0. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
- Feb 22, 2019
-
-
Daniel Stone authored
The 'created new mode blob' print was missing a newline, unlike all the others. Signed-off-by:
Daniel Stone <daniels@collabora.com>
-
- Feb 20, 2019
-
-
Emmanuel Gil Peyrot authored
-
- Feb 19, 2019
-
- Feb 18, 2019
-
-
Marius Vlad authored
Signed-off-by:
Marius Vlad <marius.vlad@collabora.com>
-
Marius Vlad authored
compositor-drm: Print pixel format in human-friendly form when failing to assign view to a overlay plane Signed-off-by:
Marius Vlad <marius.vlad@collabora.com>
-
Marius Vlad authored
../libweston/compositor-rdp.c: In function ‘rdp_peer_refresh_rfx’: ../libweston/compositor-rdp.c:213:25: error: invalid type argument of unary ‘*’ (have ‘SURFACE_BITS_COMMAND’ {aka ‘struct _SURFACE_BITS_COMMAND’}) memset(&cmd, 0, sizeof(*cmd)); Signed-off-by:
Marius Vlad <marius.vlad@collabora.com>
-
emersion authored
-
- Feb 16, 2019
-
-
Daniel Stone authored
If we cannot create a gbm_surface using a list of modifiers, fall back to using the old pre-modifier version. This fixes initialisation on systems where KMS supports modifiers but the GBM driver does not, such as old i915 systems like Pine View using the unified KMS driver but the old i915 Mesa driver. Signed-off-by:
Daniel Stone <daniels@collabora.com>
-
emersion authored
-
A surface can get destroyed while a shell grab is active, which can for example happen if the command running in weston-terminal exits. When a surface gets destroyed, grab->shsurf is reset to NULL by destroy_shell_grab_shsurf(), but otherwise the grab remains active and its callbacks continue to be called. Thus, dereferencing grab->shsurf in a callback without checking it for NULL first can lead to undefined behavior, including crashes. Several functions were already properly checking grab->shsurf for NULL, move_grab_motion() being one example. Others, however, were not, which is what this commit fixes. Related to https://gitlab.freedesktop.org/wayland/weston/issues/192 Signed-off-by:
Sergey Bugaev <bugaevc@gmail.com>
-