diff options
| author | 3ventic <ventic@3v.fi> | 2026-04-26 21:13:56 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-26 19:13:56 +0100 |
| commit | 2652e2aeab4868b0daf856df7ea1582f1ce51dfe (patch) | |
| tree | 42c3598595ba383be48d12dfa3920fc353d16c1b /src | |
| parent | c6847eb3572e0d687e44349039c7eec199ba8122 (diff) | |
config/legacy: default to active window for movetoworkspace dispatchers (#14170)
Diffstat (limited to 'src')
| -rw-r--r-- | src/config/legacy/DispatcherTranslator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/legacy/DispatcherTranslator.cpp b/src/config/legacy/DispatcherTranslator.cpp index d2e4e0ed..c8778992 100644 --- a/src/config/legacy/DispatcherTranslator.cpp +++ b/src/config/legacy/DispatcherTranslator.cpp @@ -203,7 +203,7 @@ static SDispatchResult fullscreenstate(const std::string& args) { } static SDispatchResult movetoworkspace(const std::string& args) { - PHLWINDOW PWINDOW = nullptr; + PHLWINDOW PWINDOW = Desktop::focusState()->window(); std::string wsArgs = args; if (args.contains(',')) { @@ -219,7 +219,7 @@ static SDispatchResult movetoworkspace(const std::string& args) { } static SDispatchResult movetoworkspacesilent(const std::string& args) { - PHLWINDOW PWINDOW = nullptr; + PHLWINDOW PWINDOW = Desktop::focusState()->window(); std::string wsArgs = args; if (args.contains(',')) { |
