diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 37b077d12..43b4e5d27 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -624,8 +624,6 @@ var FocusTracker = class { const rectInsideFrameRect = grapheneFrameRect.intersection(rect)[0]; if (!rectInsideFrameRect) return; - - rect.offset(-frameRect.x, -frameRect.y); } if (this._rect && this._rect.equal(rect)) @@ -643,12 +641,6 @@ var FocusTracker = class { height: this._rect.size.height, }; - if (this._currentWindow) { - let frameRect = this._currentWindow.get_frame_rect(); - rect.x += frameRect.x; - rect.y += frameRect.y; - } - return rect; } };