keyboard: Remove stale references to global.screen

(Re)introduced by the previous patch.
This commit is contained in:
Carlos Garnacho 2018-07-11 18:46:49 +02:00
parent fc5ab44704
commit e3ebc8d0c6

View File

@ -492,8 +492,8 @@ var FocusTracker = new Lang.Class({
this._currentWindow = null; this._currentWindow = null;
this._currentWindowPositionId = 0; this._currentWindowPositionId = 0;
global.screen.get_display().connect('notify::focus-window', () => { global.display.connect('notify::focus-window', () => {
this._setCurrentWindow(global.screen.get_display().focus_window); this._setCurrentWindow(global.display.focus_window);
this.emit('window-changed', this._currentWindow); this.emit('window-changed', this._currentWindow);
}); });