projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81038fb
)
Fix XWayland transient window location.
author
Axel Davy
<axel.davy@ens.fr>
Sun, 12 Jan 2014 14:06:04 +0000
(15:06 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 14 Jan 2014 00:02:29 +0000
(16:02 -0800)
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73517
Signed-off-by: Axel Davy <axel.davy@ens.fr>
xwayland/window-manager.c
patch
|
blob
|
history
diff --git
a/xwayland/window-manager.c
b/xwayland/window-manager.c
index
70c8cf7
..
d475e36
100644
(file)
--- 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);
}