- Dec 12, 2016
-
-
Daniel Stone authored
No functional change. Differential Revision: https://phabricator.freedesktop.org/D1484 Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Armin Krezović <krezovic.armin@gmail.com>
-
Daniel Stone authored
No need to walk the CRTC list every time looking for CRTC indices, when we already have the CRTC index stashed away. Taking the plane as an argument also simplifies things a little for callers, and future-proofs for a potential future KMS API which passes a list of supported CRTC IDs rather than a bitmask of supported CRTC indices. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Armin Krezović <krezovic.armin@gmail.com> Differential Revision: https://phabricator.freedesktop.org/D1407
-
Daniel Stone authored
Clarify the difference between crtc_id (DRM object) and pipe (index into drmModeRes->crtcs array, possible_crtcs bitmask). Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Armin Krezović <krezovic.armin@gmail.com> Differential Revision: https://phabricator.freedesktop.org/D1405
-
- Dec 08, 2016
-
-
Giulio Camuffo authored
X client's don't have a wl_client associated with their weston_desktop_client, so make sure to not use it. Signed-off-by:
Giulio Camuffo <giuliocamuffo@gmail.com> Reviewed-by:
Quentin Glidic <sardemff7+git@sardemff7.net>
-
- Nov 30, 2016
-
-
Daniel Stone authored
We know we're not going to succeed if the binary isn't installed, so skip the test in that case. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Daniel Stone authored
Avoid any buffer overflows here by checking we don't go over PATH_MAX with stupid module names. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Nov 29, 2016
-
-
Daniel Stone authored
Destroying a wl_cursor will attempt to access the wl_display, which we have just freed. Avoid a segfault by destroying the cursor images before we destroy the display. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Dima Ryazanov <dima@gmail.com>
-
Daniel Stone authored
No need to add protocol/, as it's already handled by an explicit compiler include path. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Dima Ryazanov <dima@gmail.com>
-
- Nov 28, 2016
-
-
Bryce Harrington authored
Add support for basic text file loading, to facilitate more expansive testing of its UTF-8 text editing support. Signed-off-by:
Bryce Harrington <bryce@osg.samsung.com> Reviewed-by:
Yong Bakos <ybakos@humanoriented.com>
-
Bryce Harrington authored
Also add a basic --help option Signed-off-by:
Bryce Harrington <bryce@osg.samsung.com> Reviewed-by:
Yong Bakos <ybakos@humanoriented.com>
-
Daniel Stone authored
Fixing 89c2f637, also set the output's frame_cb for the Pixman renderer, not just GL. Fixes a segfault when using compositor-wayland with --use-pixman. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Dima Ryazanov <dima@gmail.com>
-
Call eglMakeCurrent before destroying the native EGL window, similar to what other sample clients are already doing. Signed-off-by:
Dima Ryazanov <dima@gmail.com> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
When a window is being closed, the frame_done callback often runs after the output is already destroyed, i.e: wayland_output_start_repaint_loop input_handle_button wayland_output_destroy frame_done To fix this, destroy the callback before destroying the output. (Also, fix the type of output in frame_done: it's passed in a wayland_output, not a weston_output.) Signed-off-by:
Dima Ryazanov <dima@gmail.com> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
- Nov 25, 2016
-
-
Pekka Paalanen authored
The xwayland window type XWAYLAND is not handled by the shell at all, instead libweston-desktop maps such surfaces itself. However, it forgot to set weston_surface::is_mapped and weston_view::is_mapped. weston_surface::is_mapped affects the behaviour of weston_view_unmap() and weston_surface_attach(). weston_view::is_mapped affects the behaviour of weston_view_unmap() and weston_view_destroy(). When manually mapping a window of type XWAYLAND, mark both the view and surface as mapped. This follows the expections in libweston, even though the meaning of is_mapped is not clearly defined for either surface or view. Also, when the XWAYLAND window is manually unmapped, unmap the weston_surface. This updates weston_surface::is_mapped to reflect the state. However, as a side-effect it will also unmap all sibling views, should any exist. v2: rename surface_base to wsurface Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Acked-by:
Daniel Stone <daniels@collabora.com>
-
Pekka Paalanen authored
Add documentation (asserts) that show that windows of types XWAYLAND are never registered with the shell. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Quentin Glidic <sardemff7+git@sardemff7.net>
-
Pekka Paalanen authored
Setting to a constant is much easier to read and grep for than setting to a computed variable. There are no functional changes. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Quentin Glidic <sardemff7+git@sardemff7.net>
-
Pekka Paalanen authored
Add an assert to ensure that a window of type XWAYLAND is never attempted with a parent. Following the code though, the assert can be made even stricter by allowing only TRANSIENT to have a parent. This is essentially adding documentation. v2: use stricter assert Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
- Nov 24, 2016
-
-
Pekka Paalanen authored
Helps debugging initial placement problems. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Pekka Paalanen authored
Helps debugging X11 window positioning issues. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Signed-off-by:
Ryo Munakata <ryomnktml@gmail.com> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Daniel Stone authored
Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewd-by:
Bryce Harrington <bryce@osg.samsung.com>
-
- Nov 23, 2016
-
-
Daniel Stone authored
Following on from b8c16c99, extend the family tree being tested by place_above and place_below a little, ensuring that subsurfaces can't be placed above or below surfaces which are related to them, but aren't their immediate parent or sibling. Signed-off-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Fix the following error from 'make distcheck': CC libweston/wayland_backend_la-compositor-wayland.lo ../../libweston/compositor-wayland.c:54:51: fatal error: xdg-shell-unstable-v6-client-protocol.h: No such file or directory #include "xdg-shell-unstable-v6-client-protocol.h" Files generated with the scanner belong in nodist_*_SOURCES, not with the regular sources. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
- Nov 22, 2016
-
-
Since 894b3rcc634 weston-terminal will crash on first keystroke if you fail to create an xkb compose state. This can happen if you don't have a Compose file. Instead, now we just return uncomposed symbols. Signed-off-by:
Derek Foreman <derekf@osg.samsung.com> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
The parent of a subsurface can be used as a sibling in the place_below and place_above calls. However this did not work when the parent is nested, so fix the sibling check and add a test to check this case. Signed-off-by:
Daniel Stone <daniels@collabora.com>
-
Just to keep it hidden so far... A lot of the plumbing necessary to handle x11->wayland drag and drop is missing, and the current partial handling gets in the middle for X11 drag-and-drop itself to work. The approach is well directed, but needs some further work, till then, just keep our fake drag-and-drop target hidden. This allows drag-and-drop to work between X11 clients in Xwayland, and avoids a crash with (currently unhandled) wl_resource-less data sources. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=94218 Signed-off-by:
Carlos Garnacho <carlosg@gnome.org> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
- Nov 21, 2016
-
-
Signed-off-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Signed-off-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
These variables will be much more useful in the following commit. The indentation is off to avoid future diff noise. Signed-off-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Signed-off-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Signed-off-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Now weston actually supports putting the panel at the bottom of the screen. Signed-off-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Signed-off-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Signed-off-by:
Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Fixes compilation error introduced by 43cea54c: libweston/gl-renderer.c:2862:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (unsigned i = 0; i < ARRAY_LENGTH(swap_damage_ext_to_entrypoint); i++) { ^ Signed-off-by:
Bryce Harrington <bryce@osg.samsung.com> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
v2: - Keep wl_shell code around until xdg_shell is declared stable. Signed-off-by:
Armin Krezović <krezovic.armin@gmail.com> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
This patch allow gl-renderer to accept WL_SHM_FORMAT_YUYV buffers. This is the pixel format supported by most of the USB webcams. v2: - fix hsub Vs vsub inversion Signed-off-by:
Vincent Abriou <vincent.abriou@st.com> Reviewed-by:
Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Signed-off-by:
Armin Krezović <krezovic.armin@gmail.com> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Reviewed-by:
Armin Krezović <krezovic.armin@gmail.com>
-
Also remove a wrong XXX comment. Reviewed-by:
Armin Krezović <krezovic.armin@gmail.com>
-