Stop refocusing window when switching from fullscreen to windowed (#1285)

* Stop refocusing window when switching from fullscreen to windowed

* Update Changelog.
This commit is contained in:
daxpedda 2019-11-27 04:49:15 +01:00 committed by Osspial
parent 0f94f62025
commit aec5a9fa09
3 changed files with 12 additions and 3 deletions

View file

@ -255,7 +255,10 @@ impl WindowFlags {
0,
0,
0,
winuser::SWP_ASYNCWINDOWPOS | winuser::SWP_NOMOVE | winuser::SWP_NOSIZE,
winuser::SWP_ASYNCWINDOWPOS
| winuser::SWP_NOMOVE
| winuser::SWP_NOSIZE
| winuser::SWP_NOACTIVATE,
);
winuser::UpdateWindow(window);
}