Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions library/common/glfw/embedder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -532,13 +532,11 @@ void FlutterEmbedderRunWindowLoop(FlutterWindowRef flutter_window) {
XInitThreads();
#endif
while (!glfwWindowShouldClose(window)) {
#ifdef __linux__
glfwPollEvents();
#ifdef __linux__
if (gtk_events_pending()) {
gtk_main_iteration();
}
#else
glfwWaitEvents();
#endif
// TODO(awdavies): This will be deprecated soon.
__FlutterEngineFlushPendingTasksNow();
Expand Down