Commit graph

282 commits

Author SHA1 Message Date
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
Kang Yu
bef3b5065e #266, unexpected prev-zorder taskbar window change for maximize operation 2023-11-30 15:59:40 -08:00
Kang Yu
44e33e418c validate window handle 2023-11-03 14:07:57 -07:00
Kang Yu
b9bd552092 fix unexpected move due to missing foreground check 2023-11-03 13:06:06 -07:00
Kang Yu
d651790085 avoid userMove interfere with capture timer in dual position switching 2023-11-03 12:57:32 -07:00
Kang Yu
051920a163 enable capture of new session 2023-11-03 11:41:23 -07:00
Kang Yu
b4090fce4f suppress capture using ctrl alt keys. Fast recognition of interactive display session by detecting mouse move 2023-11-03 10:59:59 -07:00
Kang Yu
a3c0eca3ef speedup capture of minimize event 2023-11-02 22:42:11 -07:00
Kang Yu
82a92ca096 unify recovery of maximized window 2023-11-02 16:25:52 -07:00
Kang Yu
6c8932402b resolve #264 minimized window get maximized unexpectedly 2023-11-02 13:30:43 -07:00
Kang Yu
f5562dd0c2 reliably switch from background to foreground of different position 2023-10-31 19:52:37 -07:00
Kang Yu
9fc9d3742a initialize normalSessions using db record 2023-10-31 16:15:04 -07:00
Kang Yu
1e7da2c0b0 ctrl shift click desktop window to bring current foreground window back to second last background z-order and update pos/size 2023-10-31 15:15:15 -07:00
Kang Yu
9533449d9c shift click desktop window to bring foreground window to second last background position 2023-10-31 12:59:52 -07:00
Kang Yu
ba4da7a6e8 fix topmost window due to RestoreZorder() operation 2023-10-31 12:05:36 -07:00
Kang Yu
2d69e41f84 new implementation of left mouse click on desktop window 2023-10-30 22:39:17 -07:00
Kang Yu
cc7b7fa925 fix unexpected window move when right click or double click on desktop window 2023-10-29 16:11:43 -07:00
Kang Yu
759845d0d8 code cleanup 2023-10-25 12:45:26 -07:00
Kang Yu
702bb7d60f simplify get zorder, avoid magic window number -1 2023-10-24 20:20:13 -07:00
Kang Yu
317aaea29e set topmost window z-order according to real visibility 2023-10-24 12:48:15 -07:00
Kang Yu
a079c6b122 fix failure to restore from disk at startup 2023-10-20 11:46:00 -07:00
Kang Yu
a2f4d3a476 avoid miscapture 2023-10-17 14:13:22 -07:00
Kang Yu
504612805b allow dual positioning if gaming window is in background, update help 2023-10-17 13:56:58 -07:00
Kang Yu
11184e984d enable dual position switching by click empty desktop window first 2023-10-17 12:47:14 -07:00
Kang Yu
dad39104b0 rename a hashset vairable 2023-10-17 12:00:22 -07:00
Kang Yu
c939e5dff3 fix crash in full-screen gaming 2023-10-17 11:54:41 -07:00
Kang Yu
08d18408c5 diable auto capture in full screen gaming mode 2023-10-16 23:19:33 -07:00
Kang Yu
0c525de23e stable restore from disk for core app windows 2023-10-16 22:45:00 -07:00
Kang Yu
f9de188eed Support restore Microsoft Store app windows from disk 2023-10-16 17:09:47 -07:00
Kang Yu
3ffb0e605f reduce event log for keeping minimized window 2023-10-15 10:55:36 -07:00
Kang Yu
b2c6360df2 attempt to speedup restore by remove registry key for short-lived display config 2023-10-11 00:11:37 -07:00
Kang Yu
e08a1da357 restore window position to last killed position need to set foreground status to erase memory 2023-10-07 17:29:02 -07:00
Kang Yu
a98e985ec6 avoid capture/restore fullscreen gaming config 2023-09-30 22:22:53 -07:00
Kang Yu
9794f55019 disable auto capture/restore in fullscreen gaming mode 2023-09-30 21:52:16 -07:00
Kang Yu
b62d233ba0 resolve conflict between full-screen gaming mode and smart foreground/background switching 2023-09-30 21:39:56 -07:00
Kang Yu
33c0b5fb26 partially undo last commit 2023-09-30 16:59:17 -07:00
Kang Yu
2e372e5626 avoid restore z-order of full-screen window 2023-09-30 16:45:44 -07:00
Kang Yu
8397981225 minor runtime speedup when no restore window is specified 2023-09-29 17:03:04 -07:00
Kang Yu
93e62a8557 improve fix for #253 2023-09-29 16:59:02 -07:00
Kang Yu
c681ab672b workaround #253, bypass activate event processing for window of ignored process 2023-09-25 11:53:28 -07:00
Kang Yu
4b8866ffde fix #254, avoid SwitchForeBackground(toFoundground: true) when foreground window is switched by 3rd-party app instead of user action 2023-09-19 15:25:15 -07:00
Kang Yu
786ba0437d add command option -foreground_background_dual_position=0 to disable smart foregroudn/backgrounding switching 2023-09-14 22:12:14 -07:00
Kang Yu
7d464fa4ab phase out command option -slow_restore 2023-09-14 22:01:44 -07:00