Injected input still sent to invisible root window

Create issue
Issue #226 resolved
Paul Turner created an issue

ref: http://www.cegui.org.uk/phpBB2/viewtopic.php?t=3471

Example / reproduction code from the thread:

Code:

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