Skip to content

Commit

Permalink
libweston-desktop: xwayland window is not visible upon commit until m…
Browse files Browse the repository at this point in the history
…ouse is moved (#130)

* libweston-desktop: xwayland window is not visible upon commit

* check XWAYLAND state instead of relying on added

Co-authored-by: Hideyuki Nagase <[email protected]>
Co-authored-by: Hideyuki Nagase <hideyukn@HIDEYUKN-SB3>
  • Loading branch information
3 people authored Jan 23, 2023
1 parent f0c83cf commit 3ff4250
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libweston-desktop/xwayland.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ weston_desktop_xwayland_surface_committed(struct weston_desktop_surface *dsurfac
if (surface->added)
weston_desktop_api_committed(surface->desktop, surface->surface,
sx, sy);

if (surface->state == XWAYLAND)
weston_view_update_transform(surface->view);
}

static void
Expand Down

0 comments on commit 3ff4250

Please sign in to comment.