diff --git a/js/ui/main.js b/js/ui/main.js index f4150c52a..21d7bc5c8 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -85,6 +85,8 @@ function _createUserSession() { automountManager = new AutomountManager.AutomountManager(); autorunManager = new AutorunManager.AutorunManager(); networkAgent = new NetworkAgent.NetworkAgent(); + + _initRecorder(); } function _createGDMSession() { @@ -131,10 +133,6 @@ function _initRecorder() { }); } -function _initUserSession() { - _initRecorder(); -} - function start() { // These are here so we don't break compatibility. global.logError = window.log; @@ -217,9 +215,6 @@ function start() { keyboard.init(); overview.init(); - if (sessionMode.sessionType == Shell.SessionType.USER) - _initUserSession(); - if (sessionMode.hasWorkspaces) global.screen.override_workspace_layout(Meta.ScreenCorner.TOPLEFT, false, -1, 1);