Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-01-16 05:10:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-16 05:10:06 +0400
commitf2cfe4b2e9212a536a880bde606eb7ce88e0e94a (patch)
tree24c985799ce09a1b6af7bf6b7b38e9f569e4a905 /source/blender/windowmanager
parent761ac8987799050c860f2b649d626aaa4258a8bd (diff)
minor changes to ghost
- use WITH_ASSERT_ABORT define, so GHOST_ASSERT will abort. - rename XTablet -> GHOST_TabletX11, was confusing since it was named like an xlib struct.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 48cad9e020b..c7cd91dfa3e 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -2756,7 +2756,7 @@ void wm_event_add_ghostevent(wmWindowManager *wm, wmWindow *win, int type, int U
/* initialize and copy state (only mouse x y and modifiers) */
event = *evt;
-
+
switch (type) {
/* mouse move, also to inactive window (X11 does this) */
case GHOST_kEventCursorMove:
@@ -3100,4 +3100,7 @@ void wm_event_add_ghostevent(wmWindowManager *wm, wmWindow *win, int type, int U
}
+#if 0
+ WM_event_print(&event);
+#endif
}