Allow keybinds to be used when the overview is opened

This commit is contained in:
2023-05-18 15:40:49 +09:00
parent 07f5a11898
commit 562e63c3fc
2 changed files with 8 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ var KeyboardManager = GObject.registerClass(
key,
settings,
Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
Shell.ActionMode.NORMAL,
Shell.ActionMode.NORMAL | Shell.ActionMode.OVERVIEW,
action
);
}

View File

@@ -394,6 +394,13 @@ var Renderer = GObject.registerClass(
size.width,
size.height
);
// Doing a simple move after because gnome ignore move_resize calls if the available space is less
// then what the application requests.
window.handle.move_frame(
true,
monGeo.x + size.x,
monGeo.y + size.y,
);
}
}