Commits on Source (11)
-
Fix a crash when right-clicking on a weston-terminal, where weston_desktop_seat_popup_grab_add_surface() is called with seat->popup_grab.keyboard.keyboard == NULL in case there is no keyboard connected. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> (cherry picked from commit b72785e1)
5324ace9 -
If a view is non-opaque - such as an overlay over a video - we shouldn't force it to be on the primary plane, as that's where the underlying content should be placed, such as the video view. dc0de9ee already mentioned: "This check should be changed in future to only filter for opaque views, but that's for another time." Adding "Fixes" at this is arguably a bug fix: Fixes: dc0de9ee (backend-drm: Move overlay vs. primary plane check earlier) Fixes: 2538aacc (backend-drm: Construct a zpos candidate list of planes) Signed-off-by: Robert Mader <robert.mader@collabora.com> (cherry picked from commit 5a2509ff)
7bde237c -
Just like we already do for planes with proper zpos. Otherwise we'll often end up choosing the primary plane instead of an overlay one in `drm_output_find_plane_for_view()`. Signed-off-by: Robert Mader <robert.mader@collabora.com> (cherry picked from commit e34e0275)
0d139480 -
The shell_surface may disappear when keyboard lost focus, then the shsurf will be NULL. Have an ahead check for shsurf before calling the callback in weston_desktop_surface_foreach_child. Fixes #811 Tested-by: Erkai Ji <erkai.ji@nxp.com> Signed-off-by: Wujian Sun <wujian.sun_1@nxp.com> Signed-off-by: Marius Vlad <marius.vlad@collabora.com> (cherry picked from commit 042d02f4)
818d7664 -
Add to handle seet hotplugging so that seats are properly picked up by ivi-shell when they are dynamically created. Signed-off-by: Tomohito Esaki <etom@igel.co.jp> (cherry picked from commit ec3e2d2d)
6e45aa85 -
The keyboard focus is active, but the desktop surface itself is not displayed as active. Therefore, the surface should also be displayed as active, as in kiosk-shell. Signed-off-by: Tomohito Esaki <etom@igel.co.jp> (cherry picked from commit 0e082315)
9c63dff1 -
Activate when a surface is created and change focus when an active surface is removed. The Surface is added to layers when it is created, because it must be added to a layer to be active. Signed-off-by: Tomohito Esaki <etom@igel.co.jp> (cherry picked from commit 7dbb166d)
c8774aaf -
Since hmi-controller adds surfaces to layers when creating ivi surfaces, the launcher will appear on startup. As before, the launcher surface is created before the background surface so that the background will appear on startup. Signed-off-by: Tomohito Esaki <etom@igel.co.jp> (cherry picked from commit 608e1ee8)
88685232 -
Otherwise shseat->focused_ivisurf can point to deleted memory. This does not happen with the hmi-controller because it explicitly assigns a new focused surface. But the ivi-shell should not relay on the controller here. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> (cherry picked from commit d6681ced)
1f2419f0 -
Clamping of the alpha value is not done properly since the introduction of the weston_view_set_alpha() helper. Signed-off-by: Arnaud Vrac <avrac@freebox.fr> (cherry picked from commit 14e0fff1)
8772ed83 -
The same output might be inited twice on init when the shell panel is disabled, depending on the order the weston_desktop_shell and wl_output globals are advertised. This triggers a protocol error as only one background can be created per output. Since initializing the output requires the weston_desktop_shell global (to create the background and panel on this output), the output init call is done conditionally in two places: in the global registry handler (to handle output hotplug) and after the initial wl_display_roundtrip call to handle the case where the weston_desktop_shell global was notified after the outputs. We now check the output has already been initialized correctly by checking if the background has been created, instead of the panel which is not always created. Signed-off-by: Arnaud Vrac <avrac@freebox.fr> (cherry picked from commit 59207a7c)
eadffb6f