diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2017-05-16 00:27:26 +1000 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2017-05-16 20:13:09 +1000 |
commit | fe09d7614263fe6e1599312dfc14f3aff8218218 (patch) | |
tree | adfef1f5ba8f7b70650afde09e353c005a10cb61 /common | |
parent | 6fe75c38d87650dcc7f8acbd951842f5a8a101ac (diff) | |
download | mpv-fe09d7614263fe6e1599312dfc14f3aff8218218.tar.bz2 mpv-fe09d7614263fe6e1599312dfc14f3aff8218218.tar.xz |
w32_common: drop TLS usage
This was added in 3f268cc4f2a4 because it wasn't clear whether
WM_NCCREATE could be used to send a context pointer from CreateWindowEx
to the window procedure. WM_NCCREATE isn't always the first message sent
to a window, but this seems to be because of an undocumented but
well-known bug where, for top-level overlapped windows, a spurious
WM_GETMINMAXINFO arrives first instead. The WM_GETMINMAXINFO can be
safely ignored, so it is still okay to pass the context struct in
WM_NCCREATE.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions