Commit graph

341 commits

Author SHA1 Message Date
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
Kang Yu
80c43c2051 reliably disable bogus taskbar move after exit fullscreen gaming 2024-10-31 11:05:44 -07:00
Kang Yu
db3201ade2 simplify capture latency accuracy 2024-10-29 16:52:43 -07:00
Kang Yu
efc2d0bb67 turn off fast restore by default 2024-10-26 19:03:43 -07:00
Kang Yu
0d3d5c24f3 fix failure to restore taskbar after full-screen gaming play 2024-10-26 15:57:08 -07:00
Kang Yu
76118726a8 avoid erroneous moving taskbar 2024-10-25 19:57:26 -07:00
Kang Yu
ee8603c5b6 speed up auto-restore by setting high PW process priority early 2024-10-25 15:51:45 -07:00
Kang Yu
9cb7fd2e90 #355, clean exit without error 2024-10-23 23:52:03 -07:00
Kang Yu
382a427a47 allow initial capture before initial auto restore 2024-10-23 23:35:46 -07:00