Fix freeze when setting decorations

This commit is contained in:
Osspial
2018-11-14 21:28:38 -05:00
parent d9c3daca9b
commit 9f36a7a68e

View File

@@ -725,6 +725,7 @@ impl Window {
let window = self.window.clone();
drop(window_state);
self.thread_executor.execute_in_thread(move || {
winuser::SetWindowLongW(window.0, winuser::GWL_STYLE, style);
winuser::SetWindowLongW(window.0, winuser::GWL_EXSTYLE, ex_style);