Commit 399a224a authored by Michael Olbrich's avatar Michael Olbrich Committed by Daniel Stone

libweston-desktop/xdg-shell: update view transforms for xdg popup surfaces

For toplevel surfaces, the shell will do the same thing. Without this, the
commit does not trigger repaints, because the output mask for the surface
is not set.

Without this the popup is not shown unless something else triggers a
repaint. This is usually not seen because the mouse cursor triggers a
repaint at the same time.
Signed-off-by: Michael Olbrich's avatarMichael Olbrich <>
parent 486b463a
Pipeline #7423 passed with stage
in 5 minutes and 45 seconds
......@@ -829,6 +829,13 @@ weston_desktop_xdg_popup_update_position(struct weston_desktop_surface *dsurface
static void
weston_desktop_xdg_popup_committed(struct weston_desktop_xdg_popup *popup)
struct weston_surface *wsurface =
weston_desktop_surface_get_surface (popup->base.desktop_surface);
struct weston_view *view;
wl_list_for_each(view, &wsurface->views, surface_link)
if (!popup->committed)
popup->committed = true;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment