Fix window icon (#831)

* Fix window icon

* Add CHANGELOG entry
This commit is contained in:
Osspial 2019-04-08 01:07:12 -04:00 committed by Victor Berger
parent 4515b77aa5
commit 47194b5f3c
2 changed files with 1 additions and 3 deletions

View file

@ -41,6 +41,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)

View file

@ -668,9 +668,6 @@ unsafe fn init<T: 'static>(
format!("{}", io::Error::last_os_error()))));
}
winuser::SetWindowLongW(handle, winuser::GWL_STYLE, 0);
winuser::SetWindowLongW(handle, winuser::GWL_EXSTYLE, 0);
WindowWrapper(handle)
};