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 |
|
Kang Yu
|
253f97d687
|
customized GetForegroundWindow()
|
2023-08-10 21:38:25 -07:00 |
|
Kang Yu
|
5c2c875b10
|
hwnd sanity check
|
2023-08-08 15:53:44 -07:00 |
|
Kang Yu
|
3b7592e1cc
|
new feature: ctrl alt click pw icon to bring current foreground window to bottom
|
2023-08-07 18:46:15 -07:00 |
|
Kang Yu
|
cf7bc24013
|
new feature: ctrl activate a background window to restore its previous foreground position
|
2023-08-07 17:28:23 -07:00 |
|
Kang Yu
|
d2d1a096dc
|
add null reference check
|
2023-08-07 16:14:06 -07:00 |
|
Kang Yu
|
94bcf761d6
|
new feature: ctrl click pw icon to bring the current foreground window back to where it was before activated
|
2023-08-07 16:09:13 -07:00 |
|
Kang Yu
|
92e9fcdc69
|
avoid crash due to stale process object
|
2023-08-06 16:05:54 -07:00 |
|
Kang Yu
|
3840a9108a
|
simplify dpi-aware coding using default argument
|
2023-08-02 15:52:58 -07:00 |
|
Kang Yu
|
ed49813531
|
unify message box setting
|
2023-08-02 15:07:41 -07:00 |
|
Kang Yu
|
07e4505704
|
sort display config list in dialog
|
2023-07-31 10:29:03 -07:00 |
|
Kang Yu
|
df994d5fac
|
restore from compatible display config on disk: check offscreen using normal position rect
|
2023-07-30 23:10:48 -07:00 |
|
Kang Yu
|
2f171712ac
|
guard against off-screen restore when target display config is different from current config
|
2023-07-30 22:38:19 -07:00 |
|
Kang Yu
|
cf90b6f633
|
refactor IsRectOffScreen()
|
2023-07-30 22:33:16 -07:00 |
|
Kang Yu
|
6567b9ad0a
|
dialog for restore from disk when no exact match is avail or shfit key is pressed
|
2023-07-30 16:23:55 -07:00 |
|
Kang Yu
|
c5dd09c05d
|
make dpi awareness code compatible with windows7
|
2023-07-28 14:35:02 -07:00 |
|
Kang Yu
|
4ce7c99e46
|
auto center labels in launch process dialog
|
2023-07-28 12:47:05 -07:00 |
|
Kang Yu
|
0920e2533c
|
fix blurred UI by using high DPI awareness setting. Get/Set window position still uses DPI unaware setting
|
2023-07-27 23:38:07 -07:00 |
|
Kang Yu
|
7683ac471f
|
update virtual desktop id when foreground event is received
|
2023-07-26 11:47:18 -07:00 |
|
Kang Yu
|
4bd369c78a
|
consistent delay to simulate double click
|
2023-07-25 13:11:21 -07:00 |
|
Kang Yu
|
1bb0e09644
|
reliably restore full screen window
|
2023-07-25 12:50:31 -07:00 |
|
Kang Yu
|
92afa823ae
|
#243, do not record stale process
|
2023-07-25 11:36:41 -07:00 |
|
Kang Yu
|
43c52eae8f
|
#243, avoid core dump when GetProcess() failed
|
2023-07-25 09:58:59 -07:00 |
|
Kang Yu
|
10facd158d
|
fix another issue related to #239, reject unexpected position change of minimized window
|
2023-07-22 23:34:15 -07:00 |
|
Kang Yu
|
ce4470420a
|
remove hack for window collection
|
2023-07-22 18:50:13 -07:00 |
|
Kang Yu
|
3d35d5a802
|
a window is off screen if both the top left and top right corner is off screen
|
2023-07-22 15:28:27 -07:00 |
|
Kang Yu
|
4864ee85b9
|
#224, remove disable switch
|
2023-07-22 14:41:53 -07:00 |
|
Kang Yu
|
964cad9341
|
refix #239, restore window invisible status
|
2023-07-22 14:36:45 -07:00 |
|
Kang Yu
|
197f540b68
|
revert #239 fix, call SendMessage() to avoid side effect of making minimized window visible
|
2023-07-22 12:34:10 -07:00 |
|
Kang Yu
|
415baf4cf6
|
pop message box before switching virtual desktop when restore from disk
|
2023-07-19 17:14:46 -07:00 |
|
Kang Yu
|
df941d0e6c
|
#172, restore from disk sorted by virtual desktop
|
2023-07-19 17:03:51 -07:00 |
|
Kang Yu
|
36d2039585
|
#172, wait new window to settle before switching virtual desktop
|
2023-07-19 11:19:04 -07:00 |
|
Kang Yu
|
64b9a17e84
|
more fix for #241
|
2023-07-19 10:58:36 -07:00 |
|
Kang Yu
|
e91b148f7f
|
fix off-screen window position according to current screen resolution
|
2023-07-19 09:51:19 -07:00 |
|
Kang Yu
|
918ca4b514
|
fix #239, minimized window not restored for "close out" app window (qtorrent, steam)
|
2023-07-17 17:17:10 -07:00 |
|
Kang Yu
|
d50ad3ad4a
|
resolve #240, detect user alt-tab activation during auto-restore
|
2023-07-16 16:55:44 -07:00 |
|
Kang Yu
|
660ec9241e
|
resolve #240 : make a guess if unminimization event is initiated by user
|
2023-07-16 16:34:57 -07:00 |
|
Kang Yu
|
d1e3fc754b
|
fix #172, switch to correct virtual desktop before launching new process
|
2023-07-15 21:40:06 -07:00 |
|
Kang Yu
|
c5ef467e9c
|
(unsuccessful) attempt to restore window to specified virtual desktop
|
2023-07-15 18:47:56 -07:00 |
|
Kang Yu
|
523bf1d1d3
|
record virtual desktop id in db
|
2023-07-15 18:07:43 -07:00 |
|
Kang Yu
|
d8a6f54756
|
coding style: consolidate command arg of ShowWindow()
|
2023-07-08 16:48:49 -07:00 |
|
Kang Yu
|
4f36016c60
|
fix issue similar to #241, aovid activating other virtual desktop when restoring maximized window
|
2023-07-08 16:21:59 -07:00 |
|
Kang Yu
|
fefdec5e5e
|
refix #224 due to #241, do not activate window before minimize window to correct taskbar
|
2023-07-08 15:48:40 -07:00 |
|
Kang Yu
|
2c6d2b6fd3
|
issue 241: disable #224 fix if the window being restored does not belong to current virtual desktop
|
2023-07-07 22:23:19 -07:00 |
|
Kang Yu
|
aae9031677
|
document new command switch for #224
|
2023-07-07 21:42:50 -07:00 |
|
Kang Yu
|
32e7c06e6e
|
fix hard-coded double click interval
|
2023-06-16 12:21:35 -07:00 |
|
Kang Yu
|
525000f948
|
change process priority to high during restore
|
2023-06-16 11:52:04 -07:00 |
|
Kang Yu
|
543d56c540
|
fix issue #236: automatically toggle taskbar lock to restore taskbar position
|
2023-06-09 15:14:01 -07:00 |
|
Kang Yu
|
e835667abf
|
#224, preserve minimized full-screen status from being overwritten
|
2023-05-03 12:37:37 -07:00 |
|
Kang Yu
|
3bcf34ba26
|
#224, avoid side-effect of restoring invisible window
|
2023-05-03 11:42:25 -07:00 |
|