Bug 846774 - Replace the sync event with an ack flag on events. r=cpeterson

This commit is contained in:
Kartikaya Gupta
2013-03-10 22:43:30 +00:00
parent f51a5cc836
commit e8238c7e73
9 changed files with 46 additions and 37 deletions

View File

@@ -559,8 +559,16 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
break;
}
case AndroidGeckoEvent::NOOP:
break;
default:
nsWindow::OnGlobalAndroidEvent(curEvent);
break;
}
if (curEvent->AckNeeded()) {
AndroidBridge::Bridge()->AcknowledgeEvent();
}
EVLOG("nsAppShell: -- done event %p %d", (void*)curEvent.get(), curEvent->Type());