mirror of
https://github.com/NickHu/sway
synced 2024-12-28 22:23:30 +01:00
Fix fullscreen position of xwayland views
This commit is contained in:
parent
00cac22038
commit
c9e3a313b4
1 changed files with 2 additions and 2 deletions
|
@ -237,12 +237,12 @@ static void handle_commit(struct wl_listener *listener, void *data) {
|
|||
struct wlr_xwayland_surface *xsurface = view->wlr_xwayland_surface;
|
||||
if (view->swayc && container_is_floating(view->swayc)) {
|
||||
view_update_size(view, xsurface->width, xsurface->height);
|
||||
view_update_position(view,
|
||||
xwayland_view->pending_lx, xwayland_view->pending_ly);
|
||||
} else {
|
||||
view_update_size(view, xwayland_view->pending_width,
|
||||
xwayland_view->pending_height);
|
||||
}
|
||||
view_update_position(view,
|
||||
xwayland_view->pending_lx, xwayland_view->pending_ly);
|
||||
view_damage_from(view);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue