forked from Blendman974/faceclaw
Shell: double-tap wake returns to the last app
A double tap that wakes the display (a screen-off double-click, or the firmware's display-wake) now focuses the foreground window instead of the app switcher. "Wake into last app" (Display settings, on by default) turns it back to the switcher. Lock screen, put-on, notification and wakeword wakes are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2bb7b3ea1a
commit
fee9dfac77
4 files changed
+19
-3
No files matched your search
@@ -2306,7 +2306,7 @@ class DashboardController {
|
||||
let shellPreWoke = false;
|
||||
if (wakewordShouldWake || displayShouldWake) {
|
||||
if (!shell.isScreenOn()) {
|
||||
shellPreWoke = shell.wake("sidebar");
|
||||
shellPreWoke = shell.wake(displayShouldWake ? shell.userWakeFocus() : "sidebar");
|
||||
}
|
||||
if (shellPreWoke || this.evenHubSessionSuspended || this.evenHubResumePromise) {
|
||||
const ready = await frameTimings.spanAsync(frameId, "wake-barrier", () =>
|
||||
|
||||
Reference in new issue
Block a user