mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +00:00
xdg_shell: Fix invert_y of top right anchor
This commit is contained in:
parent
80dbb9ba71
commit
741da702bc
@ -281,6 +281,8 @@ static enum xdg_positioner_anchor positioner_anchor_invert_y(
|
||||
return XDG_POSITIONER_ANCHOR_BOTTOM_LEFT;
|
||||
case XDG_POSITIONER_ANCHOR_BOTTOM_LEFT:
|
||||
return XDG_POSITIONER_ANCHOR_TOP_LEFT;
|
||||
case XDG_POSITIONER_ANCHOR_TOP_RIGHT:
|
||||
return XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT;
|
||||
case XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT:
|
||||
return XDG_POSITIONER_ANCHOR_TOP_RIGHT;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user