keyboard: Remove stale references to global.screen
(Re)introduced by the previous patch.
This commit is contained in:
parent
fc5ab44704
commit
e3ebc8d0c6
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user