diff options
| author | Ikalco <73481042+ikalco@users.noreply.github.com> | 2024-05-02 20:39:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-03 02:39:19 +0100 |
| commit | 387127b12ab5df8f8f40e8da7d76f47636562cab (patch) | |
| tree | 1f074bd70f631a8f87185db702dd4b47d90abece /src/config/ConfigManager.cpp | |
| parent | 41cf94faaa86b5b79def1ff1473796cc7e09a572 (diff) | |
config: added option to choose the default monitor for the cursor (#5847)
* added option to choose the default monitor that the cursor will appear in upon startup
* fix: don't set cursor to default monitor after startup
* refactor to checkDefaultCursorWarp also fix focus
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index c12badf9..a2db6040 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -318,6 +318,7 @@ CConfigManager::CConfigManager() { m_pConfig->addConfigValue("general:layout", {"dwindle"}); m_pConfig->addConfigValue("general:allow_tearing", Hyprlang::INT{0}); m_pConfig->addConfigValue("general:resize_corner", Hyprlang::INT{0}); + m_pConfig->addConfigValue("general:default_cursor_monitor", {STRVAL_EMPTY}); m_pConfig->addConfigValue("misc:disable_hyprland_logo", Hyprlang::INT{0}); m_pConfig->addConfigValue("misc:disable_splash_rendering", Hyprlang::INT{0}); |
