[gnome-shell] keyboard: remove global.screen



commit 266b0e9dd0fe9e1e194907088cf2acd4b3d8aebd
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date:   Sun Jul 8 17:39:45 2018 +0200

    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());
         //    }


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