mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
Merge pull request #1039 from acrisci/positioner-invert-x-fix
add missing anchor case in positioner invert-x for xdg-shell
This commit is contained in:
commit
344374fa14
1 changed files with 2 additions and 0 deletions
|
@ -256,6 +256,8 @@ static enum xdg_positioner_anchor positioner_anchor_invert_x(
|
||||||
return XDG_POSITIONER_ANCHOR_LEFT;
|
return XDG_POSITIONER_ANCHOR_LEFT;
|
||||||
case XDG_POSITIONER_ANCHOR_TOP_LEFT:
|
case XDG_POSITIONER_ANCHOR_TOP_LEFT:
|
||||||
return XDG_POSITIONER_ANCHOR_TOP_RIGHT;
|
return XDG_POSITIONER_ANCHOR_TOP_RIGHT;
|
||||||
|
case XDG_POSITIONER_ANCHOR_TOP_RIGHT:
|
||||||
|
return XDG_POSITIONER_ANCHOR_TOP_LEFT;
|
||||||
case XDG_POSITIONER_ANCHOR_BOTTOM_LEFT:
|
case XDG_POSITIONER_ANCHOR_BOTTOM_LEFT:
|
||||||
return XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT;
|
return XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT;
|
||||||
case XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT:
|
case XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT:
|
||||||
|
|
Loading…
Reference in a new issue