summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-26 20:28:36 +0200
committerwm4 <wm4@nowhere>2014-07-26 20:28:36 +0200
commit9969694ececc82f57306ff0fd3212e264c64c81b (patch)
tree0e0595faf9d63d5de07f2a0419c6f61047c9b078 /wscript_build.py
parent9a3f1f24ca86b299c9d5f8c42eccab7fca26b2dd (diff)
downloadmpv-9969694ececc82f57306ff0fd3212e264c64c81b.tar.bz2
mpv-9969694ececc82f57306ff0fd3212e264c64c81b.tar.xz
win32: simplify some --wid embedding code
This looked a bit overcomplicated. We don't care about the window position (it should always be 0/0, unless the parent program moved it, which it shouldn't). We don't care about the global on-screen position. Also, we will just retrieve a WM_SIZE message if our window is resized, and we don't need to update it manually. The only thing we have to do is making sure our window fills the parent window completely.
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions