- Mar 28, 2019
-
-
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: wayland/weston#208 Signed-off-by: Stefan Agner <stefan@agner.ch>
-
- Mar 14, 2019
-
-
Derek Foreman authored
-
- 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
-
-
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>
-
Derek Foreman authored
-
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
-
-
gbm_bo_get_handle_for_plane returns -1 on error, not 0. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
-
- Feb 22, 2019
-
-
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
-
-
Link Mauve authored
-
- Feb 19, 2019
-
-
Derek Foreman authored
-
- 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>
-
../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>
-
Simon Ser authored
-
- Feb 16, 2019
-
-
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>
-
Simon Ser 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 wayland/weston#192 Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
-
Changing the focused surface did remove the surface_destroy_listener from the wl_signal list, but destroying the focus state did not. As a result, sometimes the same listener would be added to two surfaces, which would join their wl_signal lists together, which would cause infinite loops and use-after-frees when closing desktop surfaces.
-
This crash was happening when *releasing* a pointer button on a window that was being resized and got destroyed during the grab. [@daniels: Cosmetic fixes; apply same fix to grab cancel.]
-
This crash was happening *during resizing* of an xwayland window that was destroyed. Discovered by: John Good @archiesix [@daniels: Moved tests below declarations.]
-
-
- Feb 15, 2019
-
-
If xwayland is disabled, compositor/weston is built without compositor/xwayland.c, which defines wet_load_xwayland. compositor/fb12c4d@@weston@exe/main.c.o: In function `main': ../weston-5.0.0-169-g2d4cc4f4dd6a/compositor/main.c:3103: undefined reference to `wet_load_xwayland' Provide an empty stub for wet_load_xwayland if xwayland is disabled. With that we also have to remove xwayland.c from the autotools build if xwayland is disabled, to avoid a multiple definition error. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
-
If the 'renderer-gl' option is enabled, ENABLE_EGL is defined, and libweston/pixel-formats.c includes EGL/egl.h. This requires an egl dependency, as X11-less platforms need the MESA_EGL_NO_X11_HEADERS define from egl.pc cflags: In file included from /usr/include/EGL/egl.h:39:0, from ../libweston/pixel-formats.c:42: /usr/include/EGL/eglplatform.h:124:10: fatal error: X11/Xlib.h: No such file or directory compilation terminated. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
-
If Weston is not installed, running ivi-layout test would fail on lots of image files not found which presumably causes the creation of some ivi surfaces to fail, leading to an assert failure. Looking at the test setup in weston-tests-env, these IVI plugin tests are supposed to run with --no-config instead. Fixes: wayland/weston#195 Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
-
It seems WESTON_DATA_DIR was missed. If you have already installed Weston, then the files will be found in the install location, but if not, they were not found at all. This caused the xwayland test to SEGV the compositor in weston_wm_window_create_frame() when frame_crate() returned NULL. This patch fixes the test suite only. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
-
At least the following commits break the libweston ABI, strictly speaking: - a5630eaf - ce62cb3d - 195dadeb - c18ffd39 - ea54c2fd - 27d7c395 - acff29b3 - 67629674 - c9c24773 - 65e1be12 Furhtermore, 64fbd0f4 break the weston executable exported ABI. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
-
Better to excercise the current rather than outdated protocol. Pekka: - split the patch, rewrote commit message - rename xdg_shell_ping to xdg_wm_base_ping - rename xdg_shell_listener to wm_base_listener - fix continued line alignment Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
-
Now that Weston supports the stable revision, use it. Better to excercise the current rather than outdated protocol. Pekka: - 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 <pekka.paalanen@collabora.com>
-
Some clients like the mpv video player now request the xdg_shell protocol so these will fail if the compositor only provides the xdg_shell_unstable_v6 protocol. Compositors like mir and gnome provide both protocols. The two protocols are very similar therefore the code in xdg-shell-v6.c has been refactored to work with the new xdg_shell protocol and now resides in xdg-shell.c. Pekka: - split the patch - fix continued line alignment Daniel - allow anchor_rect to initially have zero dimensions - account for get_popup allowing NULL parent surface Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com> Signed-off-by: Daniel Stone <daniels@collabora.com>
-
- Feb 11, 2019
-
-
Autotools is going away. Break the autotools build so that people are guaranteed to notice before it is gone. If they have problems with Meson, they can still use --enable-autotools to build with autotools, but we really want to hear about any problems. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
-
Explain how to use with Meson, as autotools is going away. The instructions have been copied from https://wayland.freedesktop.org/building.html . Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
-
- Feb 07, 2019
-
-
The in-tree clients can access the functions via libshared, but they are currently not available for external clients, such as custom shell helper applications similar to weston-desktop-shell or weston-ivi-shell-user-interface. The functions to read the content of the config are already exported. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-
- Feb 06, 2019
-
-
Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
-
Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
-
Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
-
Since ivi-shell now supports xdg-protocol, the surface_created listener can be removed and the desktop_surface_configured listener is needed. ivi-layout: libweston-desktop api is used to send configure event to application. Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
-
Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
-