mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
fix issue #127, fails to unminimize multi-monitor full screen window
This commit is contained in:
parent
cc4c9132e0
commit
55d238cd81
1 changed files with 0 additions and 2 deletions
|
@ -937,8 +937,6 @@ namespace Ninjacrab.PersistentWindows.Common
|
|||
{
|
||||
if (prevDisplayMetrics.IsFullScreen)
|
||||
{
|
||||
RECT2 rect = prevDisplayMetrics.ScreenPosition;
|
||||
User32.MoveWindow(hwnd, rect.Left, rect.Top, rect.Width, rect.Height, true);
|
||||
RestoreFullScreenWindow(hwnd); //the window was minimized from full screen status
|
||||
}
|
||||
else if (!IsFullScreen(hwnd))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue