gnome-shell r140 - trunk/js/ui
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-shell r140 - trunk/js/ui
- Date: Wed, 7 Jan 2009 22:19:46 +0000 (UTC)
Author: walters
Date: Wed Jan 7 22:19:46 2009
New Revision: 140
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=140&view=rev
Log:
Bug 563394 - revert change to run overlay key in idle
This was likely a different bug, possibly the OOM after a period of time.
It seems reliable for me now without the idle.
Modified:
trunk/js/ui/main.js
Modified: trunk/js/ui/main.js
==============================================================================
--- trunk/js/ui/main.js (original)
+++ trunk/js/ui/main.js Wed Jan 7 22:19:46 2009
@@ -124,16 +124,11 @@
let display = global.screen.get_display();
display.connect('overlay-key', function(display) {
- // Queue an idle for this, because we're getting called
- // out of a metacity event handler, and doing a lot of
- // work from inside there is...iffy.
- Mainloop.idle_add(function () {
- if (overlay.visible) {
- hide_overlay();
- } else {
- show_overlay();
- }
- });
+ if (overlay.visible) {
+ hide_overlay();
+ } else {
+ show_overlay();
+ }
});
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]