Injected input still sent to invisible root window

Create issue
Issue #226 resolved
Paul Turner created an issue


Example / reproduction code from the thread:


switch (EventType) case MouseButtonDown: printf("GUI::MouseButtonDown\n"); if (NULL != mSystem->getGUISheet()) { printf("GUISheet exists\n"); if (mSystem->getGUISheet()->isVisible()) printf("GUISheet is visible\n"); } if (mSystem->injectMouseButtonDown(Button)) { printf("*Handled MouseButtonDown*\n"); return true; } else { return false; }

It prints: GUI::MouseButtonDown GUISheet exists *Handled MouseButtonDown*

Reproducibility: have not tried

Comments (1)

  1. Log in to comment