--- a/sdlterm/cython/sdlterm.pyx Wed Jan 30 19:44:01 2013 +0100
+++ b/sdlterm/cython/sdlterm.pyx Wed Jan 30 20:21:08 2013 +0100
@@ -28,6 +28,7 @@
int MOUSEDOWN
int MOUSEUP
int MOUSEMOVE
+ int MOUSEHOVER
int MOUSEWHEEL
int type
@@ -92,6 +93,8 @@
# timeout
return None
event = self.event
+ if event.type == event.MOUSEHOVER:
+ return ('mousehover', 0, event.mouse.x, event.mouse.y)
if event.type == event.MOUSEMOVE:
return ('mousemove', 0, event.mouse.x, event.mouse.y, event.mouse.relx, event.mouse.rely)
if event.type == event.MOUSEDOWN: