mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 12:11:09 +01:00
Refactor PowerDisplay IPC and add hotkey support
Refactored IPC initialization to handle window visibility based on launch mode (standalone or IPC). Added `IsWindowVisible` P/Invoke method and implemented IPC commands for window control, monitor refresh, and settings updates. Fixed bidirectional pipe creation and adjusted process startup order in `PowerDisplayProcessManager`. Made `ShowWindow` and `HideWindow` methods public and added `IsWindowVisible` to `MainWindow.xaml.cs`. Introduced activation hotkey parsing and configuration with a default of `Win+Alt+M`. Exposed hotkey to PowerToys runner and integrated it into the dashboard with localization and a launch button. Renamed module DLL for consistency.
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<OutDir>..\..\..\..\$(Platform)\$(Configuration)\modules\PowerDisplay\</OutDir>
|
||||
<OutDir>..\..\..\..\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\$(Configuration)\PowerDisplayModuleInterface\</IntDir>
|
||||
<TargetName>PowerToys.PowerDisplayModuleInterface</TargetName>
|
||||
</PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user