Kang Yu
|
2d69e41f84
|
new implementation of left mouse click on desktop window
|
2023-10-30 22:39:17 -07:00 |
|
Kang Yu
|
cc7b7fa925
|
fix unexpected window move when right click or double click on desktop window
|
2023-10-29 16:11:43 -07:00 |
|
Kang Yu
|
759845d0d8
|
code cleanup
|
2023-10-25 12:45:26 -07:00 |
|
Kang Yu
|
702bb7d60f
|
simplify get zorder, avoid magic window number -1
|
2023-10-24 20:20:13 -07:00 |
|
Kang Yu
|
317aaea29e
|
set topmost window z-order according to real visibility
|
2023-10-24 12:48:15 -07:00 |
|
Kang Yu
|
a079c6b122
|
fix failure to restore from disk at startup
|
2023-10-20 11:46:00 -07:00 |
|
Kang Yu
|
a2f4d3a476
|
avoid miscapture
|
2023-10-17 14:13:22 -07:00 |
|
Kang Yu
|
504612805b
|
allow dual positioning if gaming window is in background, update help
|
2023-10-17 13:56:58 -07:00 |
|
Kang Yu
|
11184e984d
|
enable dual position switching by click empty desktop window first
|
2023-10-17 12:47:14 -07:00 |
|
Kang Yu
|
dad39104b0
|
rename a hashset vairable
|
2023-10-17 12:00:22 -07:00 |
|
Kang Yu
|
c939e5dff3
|
fix crash in full-screen gaming
|
2023-10-17 11:54:41 -07:00 |
|
Kang Yu
|
08d18408c5
|
diable auto capture in full screen gaming mode
|
2023-10-16 23:19:33 -07:00 |
|
Kang Yu
|
0c525de23e
|
stable restore from disk for core app windows
|
2023-10-16 22:45:00 -07:00 |
|
Kang Yu
|
f9de188eed
|
Support restore Microsoft Store app windows from disk
|
2023-10-16 17:09:47 -07:00 |
|
Kang Yu
|
3ffb0e605f
|
reduce event log for keeping minimized window
|
2023-10-15 10:55:36 -07:00 |
|
Kang Yu
|
b2c6360df2
|
attempt to speedup restore by remove registry key for short-lived display config
|
2023-10-11 00:11:37 -07:00 |
|
Kang Yu
|
e08a1da357
|
restore window position to last killed position need to set foreground status to erase memory
|
2023-10-07 17:29:02 -07:00 |
|
Kang Yu
|
a98e985ec6
|
avoid capture/restore fullscreen gaming config
|
2023-09-30 22:22:53 -07:00 |
|
Kang Yu
|
9794f55019
|
disable auto capture/restore in fullscreen gaming mode
|
2023-09-30 21:52:16 -07:00 |
|
Kang Yu
|
b62d233ba0
|
resolve conflict between full-screen gaming mode and smart foreground/background switching
|
2023-09-30 21:39:56 -07:00 |
|
Kang Yu
|
33c0b5fb26
|
partially undo last commit
|
2023-09-30 16:59:17 -07:00 |
|
Kang Yu
|
2e372e5626
|
avoid restore z-order of full-screen window
|
2023-09-30 16:45:44 -07:00 |
|
Kang Yu
|
8397981225
|
minor runtime speedup when no restore window is specified
|
2023-09-29 17:03:04 -07:00 |
|
Kang Yu
|
93e62a8557
|
improve fix for #253
|
2023-09-29 16:59:02 -07:00 |
|
Kang Yu
|
c681ab672b
|
workaround #253, bypass activate event processing for window of ignored process
|
2023-09-25 11:53:28 -07:00 |
|
Kang Yu
|
4b8866ffde
|
fix #254, avoid SwitchForeBackground(toFoundground: true) when foreground window is switched by 3rd-party app instead of user action
|
2023-09-19 15:25:15 -07:00 |
|
Kang Yu
|
786ba0437d
|
add command option -foreground_background_dual_position=0 to disable smart foregroudn/backgrounding switching
|
2023-09-14 22:12:14 -07:00 |
|
Kang Yu
|
7d464fa4ab
|
phase out command option -slow_restore
|
2023-09-14 22:01:44 -07:00 |
|
Kang Yu
|
10736a3c6d
|
remove commented code
|
2023-09-14 21:58:20 -07:00 |
|
Kang Yu
|
3578bbc908
|
revert invalid fix for #240(#239)
|
2023-09-14 21:56:48 -07:00 |
|
Kang Yu
|
65576a3fc5
|
remove unused code
|
2023-09-14 19:28:29 -07:00 |
|
Kang Yu
|
78e2ce53fa
|
reliably restore full-screen window by giving it a second try
|
2023-09-14 16:01:03 -07:00 |
|
Kang Yu
|
097eb9398d
|
fix key not found exception
|
2023-09-14 14:07:05 -07:00 |
|
Kang Yu
|
91819fc53c
|
integrate ActivateWindow() into SwitchForeBackground()
|
2023-09-14 13:42:55 -07:00 |
|
Kang Yu
|
78fd276b54
|
restore full screen window in SwitchForeBackground()
|
2023-09-14 13:22:30 -07:00 |
|
Kang Yu
|
5999a5bff6
|
new feature: ctrl click pw icon to restore foreground window to its last closing position
|
2023-09-14 13:02:20 -07:00 |
|
Kang Yu
|
42533389f2
|
refactor new function RecallLastKilledPosition()
|
2023-09-14 12:06:03 -07:00 |
|
Kang Yu
|
2c4995e394
|
fix conflict between smart foreground/background and full screen activation
|
2023-09-12 22:26:04 -07:00 |
|
Kang Yu
|
a9d0eb7ad9
|
top window might not be taskbar
|
2023-09-10 22:20:49 -07:00 |
|
Kang Yu
|
4f3965a367
|
new feature: shift click empty desktop to switch foreground/background window; ctrl click empty desktop to bring current foreground window to previous z-order and update the screen size/pos of background record with current value
|
2023-09-10 16:44:57 -07:00 |
|
Kang Yu
|
1781698364
|
immediately capture smart window activation/de-activation
|
2023-09-09 23:55:38 -07:00 |
|
Kang Yu
|
41d2791538
|
new feature: click vacant desktop to bring the current foreground window to previous background position. Click a background window to bring it to previous foreground position
|
2023-09-09 18:11:34 -07:00 |
|
Kang Yu
|
bfa128a1c8
|
speed up restore by disable icon text change
|
2023-08-31 21:00:08 -07:00 |
|
Kang Yu
|
c7167ce18e
|
#246, restore full screen window last
|
2023-08-12 18:12:32 -07:00 |
|
Kang Yu
|
f8e4ab24fa
|
avoid side-effect of failure to set foreground window in ctrl-move method
|
2023-08-12 17:42:58 -07:00 |
|
Kang Yu
|
42f8e54e31
|
new feature: ctrl move foreground window to bring it back to previous background position
|
2023-08-12 15:09:17 -07:00 |
|
Kang Yu
|
a63c7f4127
|
compensate for no event triggered for SetWindowPos()/MoveWindow() call
|
2023-08-11 18:58:46 -07:00 |
|
Kang Yu
|
111ce04c6d
|
remove unused code
|
2023-08-11 17:44:26 -07:00 |
|
Kang Yu
|
5a11738f14
|
minimized fullscreen mstsc window is not candidate of foreground window
|
2023-08-11 17:07:14 -07:00 |
|
Kang Yu
|
b26bbf608e
|
ctrl click pw icon has side-effect of activating taskbar window, not meant to put taskbar to background
|
2023-08-11 11:18:01 -07:00 |
|