User input events first take
This commit is contained in:
parent
27c5e21a1d
commit
9bb4cf1c03
7 changed files with 555 additions and 51 deletions
|
|
@ -101,6 +101,7 @@
|
|||
#include "d_event.h"
|
||||
#include "v_text.h"
|
||||
#include "version.h"
|
||||
#include "events.h"
|
||||
|
||||
// Prototypes and declarations.
|
||||
#include "rawinput.h"
|
||||
|
|
@ -187,6 +188,10 @@ static void I_CheckGUICapture ()
|
|||
wantCapt = (menuactive == MENU_On || menuactive == MENU_OnNoPause);
|
||||
}
|
||||
|
||||
// [ZZ] check active event handlers that want the UI processing
|
||||
if (!wantCapt && E_CheckUiProcessors())
|
||||
wantCapt = true;
|
||||
|
||||
if (wantCapt != GUICapture)
|
||||
{
|
||||
GUICapture = wantCapt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue