terminal/src/cascadia/Remoting
Mike Griese 69318d3ba1
Add support for the windowingBehavior setting (#9118)
Adds support for the `windowingBehavior` global setting. This setting
controls how mutiple instances of `wt` behave in the absence of the `-w`
parameter. This setting has three values:
* `"useNew"`: (default) Multiple `wt` invocations (without the `-w`
  param) always create new windows. 
* `"useAnyExisting"`: When starting a new `wt`, we'll instead default to
  any existing windows. `wt -w -1` will still create new windows. 
* `"useExisting"`: Similar to `useAnyExisting`, but limits to
  windows on the current desktop. 

The IVirtualDesktopManager interface is _very_ limited. Hence why we
have to track the HWNDs manually, and ask if they're on the current
desktop. 

## Validation Steps Performed
I've been playing with it for a week now. 

References #5000
References projects/5
References #8898
Spec'd in #8135
Closes #2227
Closes https://github.com/microsoft/terminal/projects/5#card-51431448
Closes https://github.com/microsoft/terminal/projects/5#card-51431433
2021-02-19 21:09:17 +00:00
..
dll Add Microsoft.Terminal.Remoting.dll (#8607) 2021-01-07 22:59:37 +00:00
Resources/en-US Add Microsoft.Terminal.Remoting.dll (#8607) 2021-01-07 22:59:37 +00:00
CommandlineArgs.cpp Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
CommandlineArgs.h Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
FindTargetWindowArgs.cpp Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
FindTargetWindowArgs.h Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
init.cpp Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
Microsoft.Terminal.RemotingLib.vcxproj Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
Monarch.cpp Add support for the windowingBehavior setting (#9118) 2021-02-19 21:09:17 +00:00
Monarch.h Add support for the windowingBehavior setting (#9118) 2021-02-19 21:09:17 +00:00
Monarch.idl Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
MonarchFactory.h Add Microsoft.Terminal.Remoting.dll (#8607) 2021-01-07 22:59:37 +00:00
packages.config Add Microsoft.Terminal.Remoting.dll (#8607) 2021-01-07 22:59:37 +00:00
pch.cpp Add Microsoft.Terminal.Remoting.dll (#8607) 2021-01-07 22:59:37 +00:00
pch.h Add support for the windowingBehavior setting (#9118) 2021-02-19 21:09:17 +00:00
Peasant.cpp Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
Peasant.h Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
Peasant.idl Add support for the windowingBehavior setting (#9118) 2021-02-19 21:09:17 +00:00
ProposeCommandlineResult.cpp Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
ProposeCommandlineResult.h Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
WindowActivatedArgs.cpp Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
WindowActivatedArgs.h Add support for the windowingBehavior setting (#9118) 2021-02-19 21:09:17 +00:00
WindowManager.cpp Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
WindowManager.h Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00
WindowManager.idl Add support for running a commandline in another WT window (#8898) 2021-02-10 11:28:09 +00:00