From 266b0e9dd0fe9e1e194907088cf2acd4b3d8aebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Sun, 8 Jul 2018 17:39:45 +0200 Subject: [PATCH] keyboard: remove global.screen This is disabled code for now, but let's have it fixed once we'll use it --- js/ui/keyboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 8b1f02177..71b8f22dc 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -534,7 +534,7 @@ var Keyboard = new Lang.Class({ Main.layoutManager.connect('monitors-changed', this._relayout.bind(this)); //Main.inputMethod.connect('cursor-location-changed', (o, rect) => { // if (this._keyboardVisible) { - // let currentWindow = global.screen.get_display().focus_window; + // let currentWindow = global.display.focus_window; // this.setCursorLocation(currentWindow, rect.get_x(), rect.get_y(), // rect.get_width(), rect.get_height()); // }