diff options
Diffstat (limited to 'source/blender/windowmanager/intern/wm_event_system.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index e4dfae284fe..f8488b63c85 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -3040,7 +3040,7 @@ void wm_event_add_ghostevent(wmWindowManager *wm, wmWindow *win, int type, int U /* double click test */ if (wm_event_is_double_click(&event, evt)) { - if (G.debug & (G_DEBUG_HANDLERS | G_DEBUG_EVENTS) ) + if (G.debug & (G_DEBUG_HANDLERS | G_DEBUG_EVENTS)) printf("%s Send double click\n", __func__); event.val = KM_DBL_CLICK; } @@ -3147,7 +3147,7 @@ void wm_event_add_ghostevent(wmWindowManager *wm, wmWindow *win, int type, int U /* double click test */ /* if previous event was same type, and previous was release, and now it presses... */ if (wm_event_is_double_click(&event, evt)) { - if (G.debug & (G_DEBUG_HANDLERS | G_DEBUG_EVENTS) ) + if (G.debug & (G_DEBUG_HANDLERS | G_DEBUG_EVENTS)) printf("%s Send double click\n", __func__); evt->val = event.val = KM_DBL_CLICK; } @@ -3216,7 +3216,7 @@ void wm_event_add_ghostevent(wmWindowManager *wm, wmWindow *win, int type, int U attach_ndof_data(&event, customdata); wm_event_add(win, &event); - if (G.debug & (G_DEBUG_HANDLERS | G_DEBUG_EVENTS) ) + if (G.debug & (G_DEBUG_HANDLERS | G_DEBUG_EVENTS)) printf("%s sending NDOF_MOTION, prev = %d %d\n", __func__, event.x, event.y); break; |