mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
[FancyZones] Window switch shortcut fix (#21426)
* rename Layout -> LayoutData * simplify zone * split ZoneSet: Layout * refactoring * split ZoneSet: LayoutWindows * update trace * split ZoneSet: remove ZoneSet * fix initialization * split unit tests * remove unused * warning * nullptr check * use current rect * update work area tests * use current rect * simplify * more meaningful name * dismiss * safety checks * resolve conflicts * reassign windows after switching vd * avoid double-processing for window on switching vd * extend windows fix * check if window is on current desktop before cycling * separated extend * not reinit layout windows
This commit is contained in:
@@ -10,6 +10,7 @@ namespace ZonedWindowProperties
|
||||
const wchar_t PropertyRestoreSizeID[] = L"FancyZones_RestoreSize";
|
||||
const wchar_t PropertyRestoreOriginID[] = L"FancyZones_RestoreOrigin";
|
||||
const wchar_t PropertyCornerPreference[] = L"FancyZones_CornerPreference";
|
||||
const wchar_t PropertyMovedOnOpening[] = L"FancyZones_MovedOnOpening";
|
||||
|
||||
const wchar_t MultiMonitorName[] = L"FancyZones";
|
||||
const wchar_t MultiMonitorInstance[] = L"MultiMonitorDevice";
|
||||
@@ -21,6 +22,9 @@ namespace FancyZonesWindowProperties
|
||||
void RemoveZoneIndexProperty(HWND window);
|
||||
ZoneIndexSet RetrieveZoneIndexProperty(HWND window);
|
||||
|
||||
void StampMovedOnOpeningProperty(HWND window);
|
||||
bool RetreiveMovedOnOpeningProperty(HWND window);
|
||||
|
||||
std::optional<size_t> GetTabSortKeyWithinZone(HWND window);
|
||||
void SetTabSortKeyWithinZone(HWND window, std::optional<size_t> tabSortKeyWithinZone);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user