diff --git a/CHANGELOG.md b/CHANGELOG.md index d23e8db2aa..241c0cc4ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - On Windows, fix `CursorMoved(0, 0)` getting dispatched on window focus. - On macOS, fix command key event left and right reverse. - On FreeBSD, NetBSD, and OpenBSD, fix build of X11 backend. +- On Windows, fix icon not showing up in corner of window. - On X11, change DPI scaling factor behavior. First, winit tries to read it from "Xft.dpi" XResource, and uses DPI calculation from xrandr dimensions as fallback behavior. # Version 0.19.0 (2019-03-06) diff --git a/src/platform/windows/window.rs b/src/platform/windows/window.rs index d15838934d..0d664d4d5a 100644 --- a/src/platform/windows/window.rs +++ b/src/platform/windows/window.rs @@ -625,9 +625,6 @@ unsafe fn init( format!("{}", io::Error::last_os_error())))); } - winuser::SetWindowLongW(handle, winuser::GWL_STYLE, 0); - winuser::SetWindowLongW(handle, winuser::GWL_EXSTYLE, 0); - WindowWrapper(handle) };