keyboard: remove global.screen
This is disabled code for now, but let's have it fixed once we'll use it
This commit is contained in:
parent
f7355f593d
commit
266b0e9dd0
@ -534,7 +534,7 @@ var Keyboard = new Lang.Class({
|
|||||||
Main.layoutManager.connect('monitors-changed', this._relayout.bind(this));
|
Main.layoutManager.connect('monitors-changed', this._relayout.bind(this));
|
||||||
//Main.inputMethod.connect('cursor-location-changed', (o, rect) => {
|
//Main.inputMethod.connect('cursor-location-changed', (o, rect) => {
|
||||||
// if (this._keyboardVisible) {
|
// 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(),
|
// this.setCursorLocation(currentWindow, rect.get_x(), rect.get_y(),
|
||||||
// rect.get_width(), rect.get_height());
|
// rect.get_width(), rect.get_height());
|
||||||
// }
|
// }
|
||||||
|
Loading…
Reference in New Issue
Block a user