From ddfd2b764472af0890cd3f03c6c55dc7005bd523 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 7 Sep 2022 16:34:44 +1000 Subject: Cleanup: comment unused INPUTCHANGE event --- source/blender/windowmanager/intern/wm_window.c | 2 -- source/blender/windowmanager/wm_event_types.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'source/blender/windowmanager') 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). */ -- cgit v1.2.3