mirror of https://github.com/mpv-player/mpv
4fe199c6a0
forcibly moving a window from one screen to another is supposed to put it in a position that looks relative the same as on the old screen, as in bottom, top, left and right margin look the same, without changing the window size. in some situations the old code moved the window off screen or on top of the menu bar so it ended up at a somewhat random position. the new code fixes some edge cases but is probably not completely correct since the priority is to make sure that the window ends up on the right screen. |
||
---|---|---|
.. | ||
events_view.h | ||
events_view.m | ||
mpvadapter.h | ||
video_view.h | ||
video_view.m | ||
window.h | ||
window.m |