diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-07-25 15:29:39 +0200 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-07-25 15:29:39 +0200 |
| commit | 33a5c8ce325e1657ec5571b57e05c6378706f4cd (patch) | |
| tree | 4578ce14a7ffcf230a14828b7a8c8e874fbce831 /src/config/ConfigManager.cpp | |
| parent | a0d15a0b7b066cbb1b08ac54cf882c2c55467e4a (diff) | |
config: avoid using initial ws tracking for exec-once
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 5a8f2bd2..657d7aff 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -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(); |
