BUG=RH#800897
TEST=Linux desktop
Review URL: https://codereview.appspot.com/5795048
m_loop.run();
m_loop = null;
+ keyboard.ungrab(Gdk.CURRENT_TIME);
+ pointer.ungrab(Gdk.CURRENT_TIME);
+
hide();
// Make sure the switcher is hidden before returning from this function.
while (Gtk.events_pending())
return true;
}
+ // if e.type == Gdk.EventType.KEY_RELEASE, m_loop is already null.
+ if (m_loop == null) {
+ return false;
+ }
+
m_loop.quit();
m_result = (int)m_selected_engine;
return true;