Cleanup: comment unused INPUTCHANGE event

This commit is contained in:
2022-09-07 16:34:44 +10:00
parent b5837bc948
commit ddfd2b7644
2 changed files with 1 additions and 3 deletions

View File

@@ -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...

View File

@@ -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). */