config: avoid using initial ws tracking for exec-once
This commit is contained in:
parent
a0d15a0b7b
commit
33a5c8ce32
3 changed files with 8 additions and 4 deletions
|
|
@ -36,7 +36,7 @@ using namespace Hyprutils::String;
|
|||
static std::vector<std::pair<std::string, std::string>> getHyprlandLaunchEnv() {
|
||||
static auto PINITIALWSTRACKING = CConfigValue<Hyprlang::INT>("misc:initial_workspace_tracking");
|
||||
|
||||
if (!*PINITIALWSTRACKING)
|
||||
if (!*PINITIALWSTRACKING || g_pConfigManager->isLaunchingExecOnce)
|
||||
return {};
|
||||
|
||||
const auto PMONITOR = g_pCompositor->m_pLastMonitor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue