[PATCH 1/2] Fix XWayland transient window location.
Bryce W. Harrington
b.harrington at samsung.com
Mon Jan 13 16:51:09 PST 2014
LGTM. For both patches:
Reviewed-by: Bryce Harrington <b.harrington at samsung.com>
On Sun, Jan 12, 2014 at 03:06:04PM +0100, Axel Davy wrote:
> This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73517
>
> Signed-off-by: Axel Davy <axel.davy at ens.fr>
> ---
> xwayland/window-manager.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
> index 70c8cf7..d475e36 100644
> --- a/xwayland/window-manager.c
> +++ b/xwayland/window-manager.c
> @@ -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);
> }
> --
> 1.8.3.2
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list