mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[Hotfix][Peek]Consume shortcut only on Desktop and Shell (#26222)
* [Peek]Consume shortcut only on Desktop and Shell * Appease spellchecker
This commit is contained in:
@@ -22,6 +22,8 @@ namespace Peek.UI.Extensions
|
||||
return activeTab;
|
||||
}
|
||||
|
||||
// Keep logic synced with the similar function in the C++ module interface.
|
||||
// TODO: Refactor into same C++ class consumed by both.
|
||||
internal static bool IsDesktopWindow(this HWND windowHandle)
|
||||
{
|
||||
StringBuilder strClassName = new StringBuilder(256);
|
||||
|
||||
Reference in New Issue
Block a user