Commit graph

1802 commits

Author SHA1 Message Date
Kang Yu
9224d62191 postpone capture to avoid wrong matching to killed window 2025-04-26 22:55:31 -07:00
Kang Yu
e41caba220 improve debug message 2025-04-26 22:29:16 -07:00
Kang Yu
769f35b681 debug print inherited window handle 2025-04-26 18:37:18 -07:00
Kang Yu
2ba0a5395b move inherit killed window out of IsWindowMoved() to CaptureWindow() 2025-04-26 15:25:31 -07:00
Kang Yu
e4be317e77 improve accuracy of matching killed window based on position similarity 2025-04-25 23:39:44 -07:00
Kang Yu
fb5f538b88 improve re-entrance protection using lock 2025-04-18 14:29:29 -07:00
Kang Yu
3b5813bb35 reduce event loggging of regular trimming of position history 2025-04-18 13:20:28 -07:00
Kang Yu
de1b815d57 fix dead-loop in TrimQueue() 2025-04-14 21:20:21 -07:00
Kang Yu
62452f3e0b fix dead-loop in TrimQueue(), causing auto-restore to hang, possibly due to wrong inheritance 2025-04-14 16:25:06 -07:00
Kang Yu
0adf762fa0 fix wrong capture due to improper unfreeze 2025-03-24 10:35:28 -07:00
Kang Yu
05a740a21f unlock unknown display session when any window is moved/resized/minimize/unminimized 2025-03-19 16:01:07 -07:00
Kang Yu
4330c95216 refactor TryInheritWindow(), making it safe to be called for both new and captured window 2025-03-17 20:53:17 -07:00
Kang Yu
23b63d09ea tag 5.62, update help 2025-03-17 16:40:29 -07:00
Kang Yu
6097ab4bc7 turn off auto restore existing window to last capture 2025-03-17 16:36:03 -07:00
Kang Yu
aacaefc205 #369, #388, #392: turn off auto-restore new window off by default 2025-03-17 16:30:49 -07:00
Kang Yu
557a3bbddb #369, #388, #392: newly created window auto-restored to wrong place due to matching to incorrect entry with different window title 2025-03-17 14:29:11 -07:00
Kang Yu
189611ad3a improve event message for inherit window 2025-03-17 14:22:16 -07:00
Kang Yu
86926ffd27 #388, fix missing capture of maximized window 2025-03-16 15:36:56 -07:00
Kang Yu
10dd03498a #389, persist exception when running PW with -ignored_process 2025-03-08 16:44:40 -08:00
Kang Yu
3c585c1dab tag 5.61 2025-03-08 15:54:57 -08:00
Kang Yu
172cbdc35c undo speedup inheritance of killed window on 1/29 2025-03-08 15:29:05 -08:00
Kang Yu
5fc59d5bc5 #368, #388: fix mismatching of new window due to improper timing 2025-03-08 14:16:05 -08:00
Kang Yu
8c710ab55c speculative fix for failure to restore, due to write xml dump in realtime event handler 2025-02-04 12:18:47 -08:00
Kang Yu
4f7479b0b7 fix compile warning 2025-02-04 11:50:13 -08:00
Kang Yu
c15ab870ac fix crash calling GetWindowTextLength() 2025-02-04 11:01:30 -08:00
Kang Yu
c719aee32f update help on -capture_floating_window 2025-02-02 21:59:58 -08:00
Kang Yu
2cfa8ce92f update help on auto restore new/existing window to last capture 2025-02-02 21:45:46 -08:00
Kang Yu
83c228b6fe tag 5.60 2025-02-02 20:55:56 -08:00
Kang Yu
5d6c71d03a update help on -restore_snapshot 2025-02-02 20:54:31 -08:00
Kang Yu
c58027bb9c update help on new command option -restore_snapshot 2025-02-02 20:46:08 -08:00
Kang Yu
62a03e4ed3 fix typo 2025-02-02 20:40:50 -08:00
Kang Yu
fe06972d58 rename -dump_window_pos_at_exit to -dum_window_position_history 2025-02-02 20:39:47 -08:00
Kang Yu
b70db0aa53 reliably restore full-screen rdp window 2025-02-02 16:00:53 -08:00
Kang Yu
2bfd021698 do not auto-restore upon program start 2025-02-02 13:33:54 -08:00
Kang Yu
0e622b8021 #354, add command option -restore_snapshot "[0-9a-z]" 2025-02-02 11:58:06 -08:00
Kang Yu
5a794baf8b reliably detect full screen mode 2025-01-31 10:24:42 -08:00
Kang Yu
a5dd48becf fix typo 2025-01-30 19:32:44 -08:00
Kang Yu
13cd0ab8d5 no auto inherit when restore from db 2025-01-30 19:29:10 -08:00
Kang Yu
52231e20ab fix missing opportunity to inherit window by adding create event processing 2025-01-30 19:04:03 -08:00
Kang Yu
362df4c720 send window without history to background when restore snapshot 2025-01-30 11:38:07 -08:00
Kang Yu
5925950f24 speedup inheritance of killed window 2025-01-29 23:51:20 -08:00
Kang Yu
c292fdd1b1 fix missing z-order recovery when inherit killed window 2025-01-29 23:01:14 -08:00
Kang Yu
ecd57678e1 #369, fix wrong matching of killed window pos of different display config 2025-01-29 22:05:41 -08:00
Kang Yu
145769a886 disable putting no record window to bottom z-order 2025-01-29 21:29:48 -08:00
Kang Yu
b32fbee4d0 revert no record window hack 2025-01-29 21:28:33 -08:00
Kang Yu
cfb1793dc6 revert setting invalid curDisplayKey value causing PW stop responding 2025-01-29 21:23:21 -08:00
Kang Yu
2b288cb295 no need to capture layout for window close event 2025-01-18 11:30:11 -08:00
Kang Yu
04e569fbcb #369, more consistent behavior for -delay_auto_restore 2025-01-07 22:21:58 -08:00
kangyu-california
3c6f053b00
Merge pull request #368 from ImKventis/master
Maintain custom set icon
2025-01-06 10:50:13 -08:00
ImKventis
bac953a9e4 Maintain custom set icon 2025-01-06 15:52:42 +00:00