mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
allow dual positioning if gaming window is in background, update help
This commit is contained in:
parent
11184e984d
commit
504612805b
2 changed files with 9 additions and 3 deletions
10
Help.md
10
Help.md
|
@ -40,9 +40,13 @@
|
|||
|
||||
---
|
||||
### Other Features
|
||||
* Switch window between its foreground and background dual position/size
|
||||
* Bring a foreground window to its previous background position and z-order by click the empty desktop background area (not occupied by any window)
|
||||
* Bring a background window to its previous foreground position by click it or alt-tab
|
||||
* The dual positioning feature allows any window to have different position/size in foreground and background mode.
|
||||
* Bring a foreground window to its previous background position and z-order
|
||||
* click the empty desktop background area (which is not occupied by any window)
|
||||
* Bring a foreground window to its previous z-order (while keeping the current size)
|
||||
* ALT click the empty desktop area
|
||||
* Bring a background window to foreground WITHOUT restoring to previous foreground position
|
||||
* press any of CTRL/SHIFT/ALT key when activating the window.
|
||||
* Restore a new window to its last closing position
|
||||
* Ctrl click the PW icon
|
||||
* Put the current window to background, useful if the window is maximized
|
||||
|
|
|
@ -1803,11 +1803,13 @@ namespace PersistentWindows.Common
|
|||
|
||||
public void SwitchForeBackground(IntPtr hwnd, bool toForeground=false, bool updateBackgroundPos=false)
|
||||
{
|
||||
/*
|
||||
if (fullScreenGamingWindows.Count > 0)
|
||||
{
|
||||
//no smart foreground/background
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
if (hwnd == IntPtr.Zero || IsTaskBar(hwnd))
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue