diff --git a/quickshell/Modals/Clipboard/ClipboardHistoryModal.qml b/quickshell/Modals/Clipboard/ClipboardHistoryModal.qml index 275310e98..da81bd5ba 100644 --- a/quickshell/Modals/Clipboard/ClipboardHistoryModal.qml +++ b/quickshell/Modals/Clipboard/ClipboardHistoryModal.qml @@ -21,7 +21,6 @@ DankModal { function show() { open(); - shouldHaveFocus = true; Qt.callLater(function () { if (contentLoader.item) { diff --git a/quickshell/Modals/Common/DankModalHost.qml b/quickshell/Modals/Common/DankModalHost.qml index 46b658f93..54dbacc14 100644 --- a/quickshell/Modals/Common/DankModalHost.qml +++ b/quickshell/Modals/Common/DankModalHost.qml @@ -323,8 +323,7 @@ Item { clickCatcher.item.present(); contentWindow.visible = true; opened(); - shouldHaveFocus = false; - Qt.callLater(() => shouldHaveFocus = Qt.binding(() => shouldBeVisible)); + shouldHaveFocus = Qt.binding(() => shouldBeVisible); } on_SurfaceFrameReadyChanged: {