layout: Change setDummyCursorPosition to also set the size
If we are being used to follow a text entry cursor we also need to set the size so that the popup menu avoids covering it. https://bugzilla.gnome.org/show_bug.cgi?id=727579
This commit is contained in:
@ -35,7 +35,7 @@ function addBackgroundMenu(actor, layoutManager) {
|
||||
|
||||
function openMenu() {
|
||||
let [x, y] = global.get_pointer();
|
||||
Main.layoutManager.setDummyCursorPosition(x, y);
|
||||
Main.layoutManager.setDummyCursorGeometry(x, y, 0, 0);
|
||||
actor._backgroundMenu.open(BoxPointer.PopupAnimation.NONE);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user