summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2017-03-14 02:38:54 +0100
committerAkemi <der.richter@gmx.de>2017-03-26 20:41:20 +0200
commitc083a7f53e21ee1d7c1260401de92b30f674e79b (patch)
treeddaa327fd2fff6216e921b0fef09072588a35b31 /osdep
parent5e066670d0633f94e8e02b6e417e262b759863d9 (diff)
downloadmpv-c083a7f53e21ee1d7c1260401de92b30f674e79b.tar.bz2
mpv-c083a7f53e21ee1d7c1260401de92b30f674e79b.tar.xz
cocoa: fix retrieval of unfs window size
there are two minor bugs. mpv could try to retrieve the size when in fullscreen and would get the fullscreen size. to fix that we keep track of the window size before going into fullscreen. the second small bug is when using HiDPI resolution and the --hidpi-window-scale option. we actually want the OSD to show the proper window scale depending on the hidpi settings. before when resizing the window to double the size it could show "window-scale: 1.0" or "window-scale: 0.5" when resizing to normal size. now it considers the backing scale factor and the hidpi option to return a logical correct window size.
Diffstat (limited to 'osdep')
0 files changed, 0 insertions, 0 deletions