Commit graph

  • e46f82eb42 #267, also fix empty process name in db Kang Yu 2023-12-30 23:10:55 -08:00
  • c2bea04801 fix operator precedence error for & != Kang Yu 2023-12-30 21:56:04 -08:00
  • 812e216040 #267 auto restore existing windows from db for fresh display config Kang Yu 2023-12-30 18:00:38 -08:00
  • d34c90e082 fix #267 Kang Yu 2023-12-10 18:28:28 -08:00
  • 67ad26808b patch for #276, double confirm unresponsive window is hung Kang Yu 2023-12-28 19:23:34 -08:00
  • 51ba8bb6a8 enhancement: convert pwIcon.png to .ico resource Kang Yu 2023-12-22 17:57:10 -08:00
  • 904121fcb7 further improve icon edge evenness Kang Yu 2023-12-22 14:40:20 -08:00
  • 6539ea7ea1 respond to #274, improve icon edge evenness Kang Yu 2023-12-22 13:54:40 -08:00
  • ddd37e14d6 tag 5.48 5.48 Kang Yu 2023-12-11 11:29:58 -08:00
  • 881f9587f5 update help on Dual Position Switching Kang Yu 2023-12-11 11:29:30 -08:00
  • 439d1de9df no shift or alt key should be pressed when activating dual pos switching Kang Yu 2023-12-11 10:55:39 -08:00
  • 26714e7e82 use ctrl-move or ctrl-resize to activate dual position switch feature Kang Yu 2023-12-10 14:53:11 -08:00
  • 82fa1833d5 turn off dual position switching by default Kang Yu 2023-12-07 20:49:00 -08:00
  • bef3b5065e #266, unexpected prev-zorder taskbar window change for maximize operation Kang Yu 2023-11-30 15:59:40 -08:00
  • c682828b4b update help/readme Kang Yu 2023-11-12 14:47:35 -08:00
  • b24358b493 update help Kang Yu 2023-11-05 15:49:18 -08:00
  • 4dd781d983 update help Kang Yu 2023-11-05 15:26:05 -08:00
  • eee8bf10c5 tag 5.47 5.47 Kang Yu 2023-11-03 14:08:26 -07:00
  • 44e33e418c validate window handle Kang Yu 2023-11-03 14:07:57 -07:00
  • b9bd552092 fix unexpected move due to missing foreground check Kang Yu 2023-11-03 13:05:58 -07:00
  • d651790085 avoid userMove interfere with capture timer in dual position switching Kang Yu 2023-11-03 12:37:09 -07:00
  • 051920a163 enable capture of new session Kang Yu 2023-11-03 11:41:23 -07:00
  • b4090fce4f suppress capture using ctrl alt keys. Fast recognition of interactive display session by detecting mouse move Kang Yu 2023-11-03 10:59:59 -07:00
  • a3c0eca3ef speedup capture of minimize event Kang Yu 2023-11-02 22:42:11 -07:00
  • 82a92ca096 unify recovery of maximized window Kang Yu 2023-11-02 16:25:52 -07:00
  • 6c8932402b resolve #264 minimized window get maximized unexpectedly Kang Yu 2023-11-02 13:30:43 -07:00
  • f5562dd0c2 reliably switch from background to foreground of different position Kang Yu 2023-10-31 19:52:37 -07:00
  • 9fc9d3742a initialize normalSessions using db record Kang Yu 2023-10-31 16:15:04 -07:00
  • 1e7da2c0b0 ctrl shift click desktop window to bring current foreground window back to second last background z-order and update pos/size Kang Yu 2023-10-31 15:15:15 -07:00
  • 9533449d9c shift click desktop window to bring foreground window to second last background position Kang Yu 2023-10-31 12:59:52 -07:00
  • ba4da7a6e8 fix topmost window due to RestoreZorder() operation Kang Yu 2023-10-31 12:05:36 -07:00
  • 2d69e41f84 new implementation of left mouse click on desktop window Kang Yu 2023-10-30 22:39:17 -07:00
  • 49d9b1eb49 tag 5.46 5.46 Kang Yu 2023-10-29 16:47:02 -07:00
  • cc7b7fa925 fix unexpected window move when right click or double click on desktop window Kang Yu 2023-10-29 16:11:43 -07:00
  • 759845d0d8 code cleanup Kang Yu 2023-10-25 12:45:26 -07:00
  • 702bb7d60f simplify get zorder, avoid magic window number -1 Kang Yu 2023-10-24 20:20:13 -07:00
  • 317aaea29e set topmost window z-order according to real visibility Kang Yu 2023-10-24 12:48:15 -07:00
  • 9d5c0379f6 fix typo in help Kang Yu 2023-10-22 17:02:13 -07:00
  • a079c6b122 fix failure to restore from disk at startup Kang Yu 2023-10-20 11:46:00 -07:00
  • 7d73c37456
    Update README.md kangyu-california 2023-10-17 17:42:57 -07:00
  • a2f4d3a476 avoid miscapture 5.45 Kang Yu 2023-10-17 14:13:22 -07:00
  • 504612805b allow dual positioning if gaming window is in background, update help Kang Yu 2023-10-17 13:56:58 -07:00
  • 11184e984d enable dual position switching by click empty desktop window first Kang Yu 2023-10-17 12:47:14 -07:00
  • dad39104b0 rename a hashset vairable Kang Yu 2023-10-17 12:00:22 -07:00
  • c939e5dff3 fix crash in full-screen gaming Kang Yu 2023-10-17 11:54:41 -07:00
  • 08d18408c5 diable auto capture in full screen gaming mode Kang Yu 2023-10-16 23:19:33 -07:00
  • 64924ad214 tag 5.45 Kang Yu 2023-10-16 18:39:17 -07:00
  • 0c525de23e stable restore from disk for core app windows Kang Yu 2023-10-16 22:30:30 -07:00
  • b976230bac update help Kang Yu 2023-10-16 17:41:28 -07:00
  • f073c6983b update readme/help Kang Yu 2023-10-16 17:36:20 -07:00
  • 26d8be16fd update readme Kang Yu 2023-10-16 17:18:07 -07:00
  • f9de188eed Support restore Microsoft Store app windows from disk Kang Yu 2023-10-16 17:09:47 -07:00
  • 3ffb0e605f reduce event log for keeping minimized window Kang Yu 2023-10-15 10:55:36 -07:00
  • b2c6360df2 attempt to speedup restore by remove registry key for short-lived display config Kang Yu 2023-10-11 00:11:37 -07:00
  • d338631d31
    Update README.md kangyu-california 2023-10-07 17:46:38 -07:00
  • e08a1da357 restore window position to last killed position need to set foreground status to erase memory Kang Yu 2023-10-07 17:29:02 -07:00
  • e088813e3e Fix #257, disable splash window if PW is invoked by autostart task Kang Yu 2023-10-07 10:43:27 -07:00
  • a98e985ec6 avoid capture/restore fullscreen gaming config Kang Yu 2023-09-30 22:22:53 -07:00
  • 9794f55019 disable auto capture/restore in fullscreen gaming mode Kang Yu 2023-09-30 21:52:16 -07:00
  • b62d233ba0 resolve conflict between full-screen gaming mode and smart foreground/background switching Kang Yu 2023-09-30 21:39:56 -07:00
  • 33c0b5fb26 partially undo last commit Kang Yu 2023-09-30 16:59:17 -07:00
  • 2e372e5626 avoid restore z-order of full-screen window Kang Yu 2023-09-30 16:45:44 -07:00
  • 8397981225 minor runtime speedup when no restore window is specified Kang Yu 2023-09-29 17:03:04 -07:00
  • 93e62a8557 improve fix for #253 Kang Yu 2023-09-29 16:59:02 -07:00
  • c681ab672b workaround #253, bypass activate event processing for window of ignored process Kang Yu 2023-09-25 11:53:28 -07:00
  • 4b8866ffde fix #254, avoid SwitchForeBackground(toFoundground: true) when foreground window is switched by 3rd-party app instead of user action Kang Yu 2023-09-19 15:25:15 -07:00
  • 786ba0437d add command option -foreground_background_dual_position=0 to disable smart foregroudn/backgrounding switching Kang Yu 2023-09-14 22:12:14 -07:00
  • 7d464fa4ab phase out command option -slow_restore Kang Yu 2023-09-14 22:01:44 -07:00
  • 10736a3c6d remove commented code Kang Yu 2023-09-14 21:58:20 -07:00
  • 3578bbc908 revert invalid fix for #240(#239) Kang Yu 2023-09-14 21:56:48 -07:00
  • 65576a3fc5 remove unused code Kang Yu 2023-09-14 19:28:29 -07:00
  • 78e2ce53fa reliably restore full-screen window by giving it a second try Kang Yu 2023-09-14 16:00:57 -07:00
  • 097eb9398d fix key not found exception Kang Yu 2023-09-14 14:07:05 -07:00
  • 91819fc53c integrate ActivateWindow() into SwitchForeBackground() Kang Yu 2023-09-14 13:42:55 -07:00
  • 78fd276b54 restore full screen window in SwitchForeBackground() Kang Yu 2023-09-14 13:22:30 -07:00
  • 5999a5bff6 new feature: ctrl click pw icon to restore foreground window to its last closing position Kang Yu 2023-09-14 13:02:20 -07:00
  • 42533389f2 refactor new function RecallLastKilledPosition() Kang Yu 2023-09-14 12:06:03 -07:00
  • 6526a119eb fix crash due to null obj reference Kang Yu 2023-09-13 13:10:17 -07:00
  • 2c4995e394 fix conflict between smart foreground/background and full screen activation Kang Yu 2023-09-12 22:26:04 -07:00
  • a9d0eb7ad9 top window might not be taskbar Kang Yu 2023-09-10 22:20:49 -07:00
  • a06a25700e fix typo of if else matching Kang Yu 2023-09-10 17:11:44 -07:00
  • 4f3965a367 new feature: shift click empty desktop to switch foreground/background window; ctrl click empty desktop to bring current foreground window to previous z-order and update the screen size/pos of background record with current value Kang Yu 2023-09-10 16:44:57 -07:00
  • 1781698364 immediately capture smart window activation/de-activation Kang Yu 2023-09-09 23:55:38 -07:00
  • 41d2791538 new feature: click vacant desktop to bring the current foreground window to previous background position. Click a background window to bring it to previous foreground position Kang Yu 2023-09-09 16:28:30 -07:00
  • 216864e210 update readme Kang Yu 2023-09-04 18:29:47 -07:00
  • bfa128a1c8 speed up restore by disable icon text change Kang Yu 2023-08-31 21:00:08 -07:00
  • c7167ce18e #246, restore full screen window last Kang Yu 2023-08-12 18:12:32 -07:00
  • f8e4ab24fa avoid side-effect of failure to set foreground window in ctrl-move method Kang Yu 2023-08-12 17:42:58 -07:00
  • 42f8e54e31 new feature: ctrl move foreground window to bring it back to previous background position Kang Yu 2023-08-12 15:09:17 -07:00
  • a63c7f4127 compensate for no event triggered for SetWindowPos()/MoveWindow() call Kang Yu 2023-08-11 18:58:46 -07:00
  • 111ce04c6d remove unused code Kang Yu 2023-08-11 17:44:26 -07:00
  • 5a11738f14 minimized fullscreen mstsc window is not candidate of foreground window Kang Yu 2023-08-11 17:07:14 -07:00
  • 31dbd2458e fix #245, double quote path of auto_start script as it may contain space char Kang Yu 2023-08-11 11:21:57 -07:00
  • b26bbf608e ctrl click pw icon has side-effect of activating taskbar window, not meant to put taskbar to background Kang Yu 2023-08-11 11:18:01 -07:00
  • 253f97d687 customized GetForegroundWindow() Kang Yu 2023-08-10 21:38:25 -07:00
  • 5c2c875b10 hwnd sanity check Kang Yu 2023-08-08 15:53:44 -07:00
  • 3b7592e1cc new feature: ctrl alt click pw icon to bring current foreground window to bottom Kang Yu 2023-08-07 18:46:15 -07:00
  • cf7bc24013 new feature: ctrl activate a background window to restore its previous foreground position Kang Yu 2023-08-07 17:28:23 -07:00
  • d2d1a096dc add null reference check Kang Yu 2023-08-07 16:14:06 -07:00
  • 94bcf761d6 new feature: ctrl click pw icon to bring the current foreground window back to where it was before activated Kang Yu 2023-08-07 16:09:13 -07:00