mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
minor code refactoring
This commit is contained in:
parent
db2d8c5fb0
commit
958624db0a
1 changed files with 1 additions and 1 deletions
|
@ -1094,7 +1094,6 @@ namespace PersistentWindows.Common
|
|||
if (!deadApps.ContainsKey(curDisplayKey))
|
||||
return -1;
|
||||
|
||||
var deadAppPos = deadApps[curDisplayKey];
|
||||
string className = GetWindowClassName(hwnd);
|
||||
if (string.IsNullOrEmpty(className))
|
||||
return -1;
|
||||
|
@ -1113,6 +1112,7 @@ namespace PersistentWindows.Common
|
|||
{
|
||||
long dflt_kid = -1;
|
||||
|
||||
var deadAppPos = deadApps[curDisplayKey];
|
||||
foreach (var kid in deadAppPos.Keys)
|
||||
{
|
||||
var appPos = deadAppPos[kid].Last<ApplicationDisplayMetrics>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue