From: Axel Davy Date: Sun, 12 Jan 2014 14:06:04 +0000 (+0100) Subject: Fix XWayland transient window location. X-Git-Tag: 1.3.93~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa506b6dda941438e5325ddf09221c12a6cdbd0d;p=platform%2Fupstream%2Fweston.git Fix XWayland transient window location. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73517 Signed-off-by: Axel Davy --- 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); }