mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 08:38:05 +02:00
config/legacy: default to active window for movetoworkspace dispatchers (#14170)
This commit is contained in:
parent
c6847eb357
commit
2652e2aeab
1 changed files with 2 additions and 2 deletions
|
|
@ -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(',')) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue