diff options
author | wm4 <wm4@nowhere> | 2014-10-13 09:57:31 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-13 09:57:31 +0200 |
commit | 7266ceeb8e0ad5f66991ebfa7caa0dff235481ef (patch) | |
tree | 01eb58b9b00915d9c1b2f6ffc8ac610c9f584aaf /sub/dec_sub.h | |
parent | 385e1ccbce6b43c52614345e6f2e7dda6cdcd108 (diff) | |
download | mpv-7266ceeb8e0ad5f66991ebfa7caa0dff235481ef.tar.bz2 mpv-7266ceeb8e0ad5f66991ebfa7caa0dff235481ef.tar.xz |
x11: don't wait for asynchronous X resizing with window-scale
Instead of letting the window-scale property return the old value until
X11 actually executed the resize, just set the new assumed internal
window size immediately. This avoids a "lag" between setting and reading
the window-scale property, like OSD controls typically do.
Remove the additional calls from vo_x11_highlevel_resize() - they're
pointless and slightly wrong, and resize events will take care of
updating these things correctly anyway.
Fixes #1176.
("window-scale" works via VOCTRL_[S|G]ET_UNFS_WINDOW_SIZE.)
Diffstat (limited to 'sub/dec_sub.h')
0 files changed, 0 insertions, 0 deletions