diff options
author | Rengierof <anttoni.v.koivu@gmail.com> | 2015-12-26 16:38:00 +0200 |
---|---|---|
committer | Rengierof <anttoni.v.koivu@gmail.com> | 2015-12-26 16:38:00 +0200 |
commit | 11e27889aec6dfb943c6fb1aa97900e21e319bb7 (patch) | |
tree | 2b86b98b7c6a42158093d3ebaa2c902b6d1bd546 /src/api/win32/init.rs | |
parent | f76aba3d3778978bef0087f830ebf69954110233 (diff) | |
download | glutin-11e27889aec6dfb943c6fb1aa97900e21e319bb7.tar.gz glutin-11e27889aec6dfb943c6fb1aa97900e21e319bb7.zip |
Fixes cursor behavior with windows
Diffstat (limited to 'src/api/win32/init.rs')
-rw-r--r-- | src/api/win32/init.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/win32/init.rs b/src/api/win32/init.rs index 26ccba6..394923d 100644 --- a/src/api/win32/init.rs +++ b/src/api/win32/init.rs @@ -217,6 +217,7 @@ unsafe fn init(title: Vec<u16>, window: &WindowAttributes, pf_reqs: &PixelFormat // Creating a mutex to track the current window state let window_state = Arc::new(Mutex::new(WindowState { + cursor: winapi::IDC_ARROW, // use arrow by default cursor_state: CursorState::Normal, attributes: window.clone() })); |