Logo
Explore Help
Register Sign In
Mirrors/PowerToys
1
0
Fork 0
You've already forked PowerToys
mirror of https://github.com/microsoft/PowerToys.git synced 2026-04-06 03:07:04 +02:00
Code Issues Packages Projects Releases Wiki Activity
Files
2db98715cc393eda65256b6fb55a46d4e390574b
PowerToys/src/modules/fancyzones/lib/VirtualDesktopUtils.h

10 lines
215 B
C
Raw Normal View History

Compare window desktop id with currently active work area desktop id. (#2110) * Compare window desktop id with currently active work area desktop id. * Improve error handling and conform to coding guidelines. * Move virtual desktop helper functions to ZoneWindowUtils namespace. * Ensure thread safety when creating instance of VirtualDesktopManager. * Remove static qualifier from ServiceProvider. * Return instead of break, as there is no need to check for other monitors, virtual desktop is the same for all. * Move virtual desktop related helper functions to separate files. * Skip comparing desktop ids if zone window has empty GUID for desktop id. * Add comment describion scenario for which we need this fix.
2020-04-21 19:57:21 +02:00
#pragma once
#include "ZoneWindow.h"
namespace VirtualDesktopUtils
{
bool GetWindowDesktopId(HWND topLevelWindow, GUID* desktopId);
bool GetZoneWindowDesktopId(IZoneWindow* zoneWindow, GUID* desktopId);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 31ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API