terminal/src/cascadia
Mike Griese a151607c79
Recalculate quake window size when snapping across monitors (#10744)
## Summary of the Pull Request

<kbd>win+shift+arrows</kbd> can be used to move windows to adjacent monitors. When that happens, we'll new re-calculate the size of the window for the new monitor.

## References
* megathread: #8888

## PR Checklist
* [x] Closes #10274
* [x] I work here
* [ ] Tests added/passed
* [n/a] Requires documentation to be updated

## Detailed Description of the Pull Request / Additional comments

In `WM_WINDOWPOSCHANGING`, the OS says "hey, I'm about to do {something} to your window. You cool with that?". We handle that message by:
1. checking if the window was _moved_ as a part of this message
2. getting the monitor that the window will be moved onto
3. If that monitor is different than the monitor the window is currently on, then
  * calculate how big the quake window should be on that monitor
  * tell the OS that's where we'd like to be.

## Validation Steps Performed

* <kbd>win+shift+arrows</kbd> works right now
* normal quake summoning still works right
2021-08-02 19:42:57 +00:00
..
CascadiaPackage Update Cascadia Code to 2106.17 (#10455) 2021-06-18 20:47:19 +00:00
inc Only access ControlInteractivity through the projection (#10051) 2021-07-19 11:59:30 -05:00
LocalTests_SettingsModel Introduce vk() and sc() key chord specifiers (#10666) 2021-07-20 22:34:51 +00:00
LocalTests_TerminalApp Clamp the focusTab action to the number of available tabs (#10651) 2021-07-22 13:48:36 +00:00
PublicTerminalCore Fix output stuttering using a ticket lock (#10653) 2021-07-14 23:41:22 +00:00
Remoting Enable winrt::make<> detection (#10264) 2021-06-01 22:33:53 +00:00
ShellExtension Set working directory when invoked from shell extension (#10546) 2021-07-09 18:53:52 +00:00
TerminalApp Set drag and drop on '+' tooltip text based on keyboard modifiers (#10841) 2021-08-02 18:44:39 +00:00
TerminalAzBridge Switch Connections to use ValueSets to initialize them (#10184) 2021-07-20 15:02:17 +00:00
TerminalConnection [DefApp] Teach connection and tab to negotiate initial size (#10772) 2021-07-26 19:31:48 +00:00
TerminalControl Fix a pair of TermControl dragging bugs (#10650) 2021-07-28 22:27:09 +00:00
TerminalCore Vectorize TextColor::GetColor (#10779) 2021-08-02 19:02:59 +00:00
TerminalSettingsEditor Introduce vk() and sc() key chord specifiers (#10666) 2021-07-20 22:34:51 +00:00
TerminalSettingsModel Fix: Multimedia Key Hotkey Support (#10801) 2021-07-27 17:11:51 +00:00
UnitTests_Control Fix a pair of TermControl dragging bugs (#10650) 2021-07-28 22:27:09 +00:00
UnitTests_Remoting Fix building with v143 toolchain (#10727) 2021-07-20 19:00:49 +02:00
UnitTests_TerminalCore Fix building with v143 toolchain (#10727) 2021-07-20 19:00:49 +02:00
ut_app Restore embedded manifests to say 18362 (#10370) 2021-06-09 16:23:26 +00:00
WindowsTerminal Recalculate quake window size when snapping across monitors (#10744) 2021-08-02 19:42:57 +00:00
WindowsTerminal_UIATests Enable /Zc:preprocessor (#10593) 2021-07-13 23:00:11 +00:00
WindowsTerminalUniversal Update Xaml Toolkit App Host to 6.1.3 (#10640) 2021-07-12 22:58:02 +00:00
WinRTUtils Add tray icon when quake window is minimized (#10179) 2021-07-08 08:25:43 -07:00
WpfTerminalControl wpf: make sure to pack api-ms-win-core-synch-l1-2-0 (#10587) 2021-07-08 10:31:59 -05:00
WpfTerminalTestNetCore wpf: make sure to pack api-ms-win-core-synch-l1-2-0 (#10587) 2021-07-08 10:31:59 -05:00
wt Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
CascadiaResources.build.items Update Cascadia Code to 2106.17 (#10455) 2021-06-18 20:47:19 +00:00