Commit graph

349 commits

Author SHA1 Message Date
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
Kang Yu
44b17d4225 improve robustness of full screen detection #94 2024-12-13 11:29:24 -08:00
Kang Yu
23fd9ba665 fix failure to inherit position history from killed window 2024-12-11 12:23:48 -08:00
Kang Yu
7d431a22f1 disable UndoCapture() for full screen gaming session 2024-12-10 18:27:42 -08:00
Kang Yu
384154254a reliably restore full screen rdp window 2024-12-10 13:09:56 -08:00
Kang Yu
041ddcbb6d fix early capture 2024-12-09 17:22:13 -08:00
Kang Yu
6764546824 missing reset causing failure to activate window 2024-12-08 13:15:51 -08:00
Kang Yu
453a4cb9e9 do not auto restore activated floating window 2024-12-07 13:29:26 -08:00
Kang Yu
6feaa24d92 fix KeyNotFound crash 2024-12-07 13:18:13 -08:00
Kang Yu
b03ddd4470 simplify Timer lambda 2024-12-07 13:17:11 -08:00
Kang Yu
886182afc1 refactor foregroundTimerCallback() 2024-12-07 11:47:32 -08:00
Kang Yu
b519812fa5 invalidate curDisplayKey during display changing to avoid miscapture 2024-12-06 15:15:50 -08:00
Kang Yu
cf4a966e28 keep window size when restore floating window (thickframe style is 0) 2024-11-25 17:54:08 -08:00
Kang Yu
9334f516a1 let -foreground_background_dual_position switch control the new feature introduced in last commit 2024-11-22 21:58:48 -08:00
Kang Yu
21e664b4c0 new feature: ctrl click desktop window to bring foreground window to previous background z-order 2024-11-22 18:30:50 -08:00
Kang Yu
bc25a0ea01 optimize coding without move timer 2024-11-22 15:19:37 -08:00
Kang Yu
d4742d6127 turn on fast restore by default 2024-11-22 14:50:20 -08:00
Kang Yu
ddbbe88032 fix wrong assumption causing mis-capture and failure for dual position switching 2024-11-21 23:48:56 -08:00
Kang Yu
021205f255 sequentially start foreground timer and capture timer 2024-11-21 16:00:39 -08:00
Kang Yu
a398bba08a fix freeze capture not working 2024-11-21 10:56:28 -08:00
Kang Yu
e3b184b68d refix crash when entering full-screen gaming mode 2024-11-20 23:19:26 -08:00
Kang Yu
fffdf03c10 fix crash 2024-11-19 22:17:49 -08:00
Kang Yu
0d6940b6ec avoid crash 2024-11-19 21:26:05 -08:00
Kang Yu
12e6522a78 #158, explicitly inherit position history from killed window 2024-11-19 20:40:12 -08:00
Kang Yu
9e63a2b853 #158, add switch to disable auto restore window to last capture 2024-11-18 11:08:28 -08:00
Kang Yu
b392ac84f9 rename a variable 2024-11-18 10:55:19 -08:00
Kang Yu
573b453704 simplify print format 2024-11-13 15:36:31 -08:00
Kang Yu
7f5f465362 reliably send window to bottom z-order if no qualified restore record is found 2024-11-12 22:47:19 -08:00
Kang Yu
cd328c2979 avoid bogus capture 2024-11-09 22:20:25 -08:00
Kang Yu
7dfd7f5616 disable -fast_restore by default due to concern of out of order event processing 2024-11-06 10:25:21 -08:00
Kang Yu
3cb7f93cee refine message print 2024-11-04 17:38:58 -08:00
Kang Yu
e4571e4f34 accelarate auto restore for pop up window activated from previous display config 2024-11-04 11:19:53 -08:00
Kang Yu
4d6b24d8fc #158, auto restore to last position for newly launched window 2024-11-03 20:49:07 -08:00
Kang Yu
6910013026 avoid exception 2024-11-03 13:53:33 -08:00
Kang Yu
0d5d0372ee minor restore speed up 2024-11-03 11:26:29 -08:00
Kang Yu
b758b474cd rename variable 2024-11-03 10:45:23 -08:00
Kang Yu
34c0dbd0cf do visibility match when inherit position history 2024-11-02 11:58:17 -07:00
Kang Yu
1a13cf8b11 reduce event logs for zorder restore 2024-11-01 14:55:45 -07:00
Kang Yu
cea1088a7d capture floating window by default, disable by -capture_floating_window=0 2024-10-31 22:48:13 -07:00
Kang Yu
8e33aab670 fast restore by default, disable by -fast_restore=0 2024-10-31 22:46:24 -07:00
Kang Yu
c7f0f29961 increase the delta threshold of taskbar width/height change for restore 2024-10-31 22:29:51 -07:00
Kang Yu
5296f7dff5 command option -fix_taskbar_no_game 2024-10-31 22:16:40 -07:00
Kang Yu
dfec7db6b7 avoid moving mis-aligned taskbar 2024-10-31 21:41:40 -07:00