[polari/wip/fmuellner/window-experiments: 24/30] roomStack: Initialize visible room and sensitivity



commit d621c3cb52c04601977bc03110578d43f7fe7005
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Jul 14 17:54:51 2016 +0200

    roomStack: Initialize visible room and sensitivity

 src/roomStack.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/roomStack.js b/src/roomStack.js
index a718016..859a08b 100644
--- a/src/roomStack.js
+++ b/src/roomStack.js
@@ -52,6 +52,8 @@ const RoomStack = new Lang.Class({
                          Lang.bind(this, this._activeRoomChanged));
         toplevel.connect('active-room-state-changed',
                          Lang.bind(this, this._updateSensitivity));
+        this._activeRoomChanged();
+        this._updateSensitivity();
     },
 
     get entry_area_height() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]