mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
xdg_shell: Fix invert_y of top right anchor
This commit is contained in:
parent
80dbb9ba71
commit
741da702bc
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue