config: avoid using initial ws tracking for exec-once

This commit is contained in:
Vaxry
2024-07-25 15:29:39 +02:00
parent a0d15a0b7b
commit 33a5c8ce32
3 changed files with 8 additions and 4 deletions

View File

@@ -1299,12 +1299,14 @@ void CConfigManager::dispatchExecOnce() {
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE QT_QPA_PLATFORMTHEME PATH XDG_DATA_DIRS");
firstExecDispatched = true;
isLaunchingExecOnce = true;
for (auto& c : firstExecRequests) {
handleRawExec("", c);
}
firstExecRequests.clear(); // free some kb of memory :P
isLaunchingExecOnce = false;
// set input, fixes some certain issues
g_pInputManager->setKeyboardLayout();