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
|
@ -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 New Issue