diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2022-02-01 08:22:35 +0200 |
---|---|---|
committer | avih <avih@users.noreply.github.com> | 2022-02-02 13:05:55 +0200 |
commit | 555c15efba09c3f4ed0696606d8533cb82ee11a0 (patch) | |
tree | 68c421f71d07651885fb475c6f1cc79c0fdf7593 /TOOLS/lua | |
parent | 8172c501ac074af8ec02d32d7e1864700e8ec69a (diff) | |
download | mpv-555c15efba09c3f4ed0696606d8533cb82ee11a0.tar.bz2 mpv-555c15efba09c3f4ed0696606d8533cb82ee11a0.tar.xz |
win32: apply geometry position to content instead of window
The docs specify that the +-X+-Y geometry values position the content.
This used to work correctly but got broken at 8fb4fd9a .
Geometry size is unaffected - this only concerns position.
Commit 8fb4fd9a made it center the window rather than the content by
taking the borders into account during positioning, but forgot to make
an exception when a position is specified explicitly.
This commit adds this exception, and now if a specific position is
requested then the borders are ignored, and the content is positioned
correctly.
Diffstat (limited to 'TOOLS/lua')
0 files changed, 0 insertions, 0 deletions