mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-01 07:58:05 +02:00
Fix XWayland transient window location.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73517 Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
parent
81038fba86
commit
fa506b6dda
1 changed files with 2 additions and 2 deletions
|
|
@ -2218,8 +2218,8 @@ xserver_map_shell_surface(struct weston_wm *wm,
|
|||
parent = window->transient_for;
|
||||
shell_interface->set_transient(window->shsurf,
|
||||
parent->surface,
|
||||
parent->x - window->x,
|
||||
parent->y - window->y, 0);
|
||||
window->x - parent->x,
|
||||
window->y - parent->y, 0);
|
||||
} else {
|
||||
shell_interface->set_toplevel(window->shsurf);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue