Skip to content

Commit

Permalink
Bindings|Fixed: Window focus change events must be ignored
Browse files Browse the repository at this point in the history
Window focus change during busy mode would cause a crash from
the bindings subsystem.
  • Loading branch information
skyjake committed Apr 13, 2012
1 parent 8349a2a commit 80789fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/engine/portable/src/b_main.c
Expand Up @@ -777,6 +777,8 @@ static bindcontrol_t* B_GetBindControlForEvent(ddevent_t* ev)
*/
boolean B_Responder(ddevent_t* ev)
{
if(ev->type == E_FOCUS) return false; // Cannot be bound.

if(symbolicEchoMode && ev->type != E_SYMBOLIC)
{
// Make an echo.
Expand Down

0 comments on commit 80789fb

Please sign in to comment.