Commit graph

374 commits

Author SHA1 Message Date
Kang Yu
83e3ef4cc8 rename variable 2024-03-02 12:04:53 -08:00
Kang Yu
0a6b45e7ab #289, check scale factor using rounding 2024-03-02 11:36:11 -08:00
Kang Yu
b17c793df7 #289, suppress scale factor change when reading window size 2024-03-01 21:43:09 -08:00
Kang Yu
006aa4e517 #300, add command option -ctrl_minimize_to_tray=0 to disable the feature 2024-03-01 13:11:11 -08:00
Kang Yu
3aa6fb17e9 undo speculative dpi awareness check 2024-02-21 04:31:07 -08:00
Kang Yu
93611c447b always double quote dir path 2024-02-19 22:03:45 -08:00
Kang Yu
75d4fe5f5c undo test experiment change 2024-02-09 12:51:56 -08:00
Kang Yu
47b3e3173f do delayed capture after successful auto restore 2024-02-09 12:22:34 -08:00
Kang Yu
818b8c50bd #289, 1. add command option -dpi_sensitive_call=0, 2. reject sudden window dpi change 2024-02-09 12:19:50 -08:00
Kang Yu
e9b84c9bbb undo print capture event for taskbar window 2024-02-05 21:45:48 -08:00
Kang Yu
1eb93900a2 auto restore live windows from db upon for first time run 2024-02-04 18:35:30 -08:00
Kang Yu
e29f591738 fix empty container exception 2024-02-04 17:04:15 -08:00
Kang Yu
fa4f8c8d31 #288, relaunch PW if taskbar is not ready to show icon 2024-02-04 16:54:36 -08:00
Kang Yu
e70840c687 improve core app window check 2024-02-04 16:54:36 -08:00
Kang Yu
527d3bd9ae #286, reliably minimize window to notification tray 2024-02-02 13:45:09 -08:00
Kang Yu
ecf0123515 #282, fix failure to restore folder shortcut with space char in name 2024-02-01 18:02:41 -08:00
Kang Yu
605bf69496 #282, match special folder name in home dir 2024-02-01 17:01:56 -08:00
Kang Yu
b857700917 #282, if special folder could not be located, open home folder instead 2024-02-01 16:32:06 -08:00
Kang Yu
9a9fa67914 #282: treat "Quick access" folder as home 2024-02-01 15:41:20 -08:00
Kang Yu
43d76a88cc #282 : handle home dir correctly 2024-02-01 15:22:21 -08:00
Kang Yu
a2d11f936b #282, open special folder under %userprofile% 2024-02-01 15:10:47 -08:00
Kang Yu
f2bf567386 add double quote for dir path with space char 2024-01-31 22:09:45 -08:00
Kang Yu
ed4f7e67fc #282 : restore folder location for explorer window 2024-01-31 21:36:02 -08:00
Kang Yu
7f70dda590 #282: capture current dir of explorer window for restore from db 2024-01-31 19:36:36 -08:00
Kang Yu
6bc6588727 Microsoft coined another classname to hide the core app window 2024-01-31 17:08:53 -08:00
Kang Yu
bfb2a57881 capture to db: use powershell command instead of deprecated wmic.exe 2024-01-31 12:57:55 -08:00
Kang Yu
472b12ba3a do not center cursor to avoid restore failure 2024-01-29 18:41:16 -08:00
Kang Yu
2c5beca95a #279, integrate minimize window to tray function 2024-01-20 16:48:56 -08:00
Kang Yu
912d75bd49 refactor HideWindow() 2024-01-13 13:09:52 -08:00
Kang Yu
0a75042cf0 capture as soon as left mouse click happens to activate a user window (and desktop background window as an acceptable side effect). Improve reliability of dual position switching 2024-01-11 14:50:47 -08:00
Kang Yu
933998bb7c #278, do early capture of activate event for dual position windows only 2024-01-11 10:02:53 -08:00
Kang Yu
7a723e1b7a dual position switch: determine ctrl key pressed at the end of move/resize 2024-01-10 22:46:25 -08:00
Kang Yu
8454e037a2 #278, undo capture within 3 second prior to display change 2024-01-10 22:07:09 -08:00
Kang Yu
650adca7d7 suppress auto capture during display change 2024-01-10 21:28:20 -08:00
Kang Yu
e21f9750e5 avoid capture in full-screen gaming session 2024-01-09 13:21:05 -08:00
Kang Yu
a7c60ef6bf for #278, add debug print for taskbar 2024-01-08 20:26:38 -08:00
Kang Yu
ec8a0de8c9 reliably restore full-screen window 2024-01-05 22:09:34 -08:00
Kang Yu
9479a7ef88 do not check unresponsiveness for taskbar window, other window (mobaxterm) may be incorrectly maximized during autorestore 2024-01-03 18:25:47 -08:00
Kang Yu
11aea0339b wrong process name for debug_process window 2024-01-03 18:12:12 -08:00
Kang Yu
97908186fd #277, avoid full-screen restore if no display change ever happened 2024-01-02 13:18:40 -08:00
Kang Yu
ca13572c60 #276, allow restore unresponsive window position (but not z-order) 2023-12-31 00:00:53 -08:00
Kang Yu
615ae5f6f7 turn on fix for #267 by default 2023-12-30 23:13:54 -08:00
Kang Yu
e46f82eb42 #267, also fix empty process name in db 2023-12-30 23:10:55 -08:00
Kang Yu
c2bea04801 fix operator precedence error for & != 2023-12-30 21:56:04 -08:00
Kang Yu
812e216040 #267 auto restore existing windows from db for fresh display config 2023-12-30 18:00:45 -08:00
Kang Yu
d34c90e082 fix #267 2023-12-30 18:00:44 -08:00
Kang Yu
67ad26808b patch for #276, double confirm unresponsive window is hung 2023-12-28 19:23:34 -08:00
Kang Yu
439d1de9df no shift or alt key should be pressed when activating dual pos switching 2023-12-11 10:55:39 -08:00
Kang Yu
26714e7e82 use ctrl-move or ctrl-resize to activate dual position switch feature 2023-12-10 14:53:11 -08:00
Kang Yu
82fa1833d5 turn off dual position switching by default 2023-12-07 20:49:00 -08:00