aboutsummaryrefslogtreecommitdiffstats
path: root/src/events.rs
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-07-30 13:11:49 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-07-30 13:11:49 +0200
commitaa7d88dbda1d000ce6e7d2c315a7496ca0e08471 (patch)
tree9b34c1bae777772fb6ccdc281c877a27e3781ed8 /src/events.rs
parent838cc2b325d85735c7db40fba389bf120b282814 (diff)
downloadglutin-aa7d88dbda1d000ce6e7d2c315a7496ca0e08471.tar.gz
glutin-aa7d88dbda1d000ce6e7d2c315a7496ca0e08471.zip
Fix bad events
Diffstat (limited to 'src/events.rs')
-rw-r--r--src/events.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/events.rs b/src/events.rs
index 3e2143a..826a7cb 100644
--- a/src/events.rs
+++ b/src/events.rs
@@ -1,11 +1,8 @@
#[deriving(Clone,Show)]
pub enum Event {
- /// The position of the window has changed.
- PositionChanged(uint, uint),
-
/// The size of the window has changed.
- SizeChanged(uint, uint),
+ Resized(uint, uint),
/// The position of the window has changed.
Moved(int, int),