sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 8db6c68db640e8535ed71a0369323538f0910d7e
parent 9f913614cad6d157bbf33b012093dda6f3e7665e
Author: emersion <contact@emersion.fr>
Date:   Sun, 19 Aug 2018 21:51:53 +0100

Merge pull request #2493 from RyanDwyer/fix-popup-position

Fix popup position when parent uses geometry
Diffstat:
Msway/desktop/output.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sway/desktop/output.c b/sway/desktop/output.c @@ -163,8 +163,10 @@ void output_view_for_each_popup(struct sway_output *output, .user_iterator = iterator, .user_data = user_data, .output = output, - .ox = view->swayc->current.view_x - output->swayc->current.swayc_x, - .oy = view->swayc->current.view_y - output->swayc->current.swayc_y, + .ox = view->swayc->current.view_x - output->swayc->current.swayc_x + - view->geometry.x, + .oy = view->swayc->current.view_y - output->swayc->current.swayc_y + - view->geometry.y, .width = view->swayc->current.view_width, .height = view->swayc->current.view_height, .rotation = 0, // TODO