1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

niri: fix effectiveScreenAssignment in modal

This commit is contained in:
bbedward
2026-01-10 10:13:41 -05:00
parent c60cd3a341
commit 7c936cacfb
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,6 @@ Item {
property bool animationsEnabled: true
function open() {
ModalManager.openModal(root);
closeTimer.stop();
const focusedScreen = CompositorService.getFocusedScreen();
if (focusedScreen) {
@@ -66,6 +65,7 @@ Item {
if (!useSingleWindow)
clickCatcher.screen = focusedScreen;
}
ModalManager.openModal(root);
shouldBeVisible = true;
if (!useSingleWindow)
clickCatcher.visible = true;