diff options
author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-07-30 13:11:49 +0200 |
---|---|---|
committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-07-30 13:11:49 +0200 |
commit | aa7d88dbda1d000ce6e7d2c315a7496ca0e08471 (patch) | |
tree | 9b34c1bae777772fb6ccdc281c877a27e3781ed8 /src/win32 | |
parent | 838cc2b325d85735c7db40fba389bf120b282814 (diff) | |
download | glutin-aa7d88dbda1d000ce6e7d2c315a7496ca0e08471.tar.gz glutin-aa7d88dbda1d000ce6e7d2c315a7496ca0e08471.zip |
Fix bad events
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs index 9d44e02..bc268fc 100644 --- a/src/win32/mod.rs +++ b/src/win32/mod.rs @@ -362,10 +362,10 @@ extern "stdcall" fn callback(window: ffi::HWND, msg: ffi::UINT, }, ffi::WM_SIZE => { - use SizeChanged; + use Resized; let w = ffi::LOWORD(lparam as ffi::DWORD) as uint; let h = ffi::HIWORD(lparam as ffi::DWORD) as uint; - send_event(window, SizeChanged(w, h)); + send_event(window, Resized(w, h)); 0 }, |