Commit 50e33308 authored by Jonas Ådahl's avatar Jonas Ådahl
Browse files

wayland: Fix south-west anchor rect calculation

https://bugzilla.gnome.org/show_bug.cgi?id=771117
parent 4d2c0a84
......@@ -1675,7 +1675,7 @@ calculate_popup_rect (GdkWindow *window,
break;
case GDK_GRAVITY_SOUTH_WEST:
x = anchor_rect.x;
y = anchor_rect.y + (anchor_rect.height / 2);
y = anchor_rect.y + anchor_rect.height;
break;
case GDK_GRAVITY_SOUTH:
x = anchor_rect.x + (anchor_rect.width / 2);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment