diff options
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/wm_event_types.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 3c37168f831..b428fd65e7f 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -1135,8 +1135,6 @@ static bool ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_pt wm->winactive = win; win->active = 1; - // window_handle(win, INPUTCHANGE, win->active); - /* bad ghost support for modifier keys... so on activate we set the modifiers again */ /* TODO: This is not correct since a modifier may be held when a window is activated... diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h index b4e81dc54c8..405b7225bd5 100644 --- a/source/blender/windowmanager/wm_event_types.h +++ b/source/blender/windowmanager/wm_event_types.h @@ -317,7 +317,7 @@ enum { /* XXX Those are mixed inside keyboard 'area'! */ /* System: 0x010x */ - INPUTCHANGE = 0x0103, /* Input connected or disconnected, (259). */ + // INPUTCHANGE = 0x0103, /* Input connected or disconnected, (259). */ /* UNUSED. */ WINDEACTIVATE = 0x0104, /* Window is deactivated, focus lost, (260). */ /* Timer: 0x011x */ TIMER = 0x0110, /* Timer event, passed on to all queues (272). */ |