Commit c911c3a
authored
fix(controls): Fix theme and accent color reset after Windows session unlock (#1608)
* Fix theme and accent color reset after Windows session unlock
- Add session switch event handling to restore theme and accent color after unlock
- Store current theme and accent color before session lock
- Ignore WM_WININICHANGE messages during unlock restore period (5 seconds)
- Preserve stored theme when it differs from system theme
- Optimize code by removing unnecessary operations and using switch expressions
- Remove debug output statements
* Revert "Fix theme and accent color reset after Windows session unlock"
This reverts commit 9b61717.
* Changes to the Conditions for Executing UpdateObservedWindow1 parent 7219fa6 commit c911c3a
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| |||
0 commit comments