• v0.7.7 1a94c65812

    PowerMenu clicks the card under the cursor + sleep stays asleep
    release / Build Windows .zip (push) Canceled after 0s

    LastSkywalker released this 2026-05-28 09:50:17 +03:00 | 53 commits to main since this release

    PowerMenu: clicking a card fired whatever was highlighted, not what
    was clicked — confirm() read the stale active from its closure.
    Replaced with activate(i) that runs a specific index; mouse passes the
    clicked index (and onMouseEnter now moves the highlight to follow the
    cursor), controller/keyboard pass the selected index.

    Sleep: the PC woke ~2s after sleeping. Cause: rundll32's
    SetSuspendState entry ignores its args and always sleeps with wake
    events ENABLED, so a wake-armed device (wireless pad dongle, mouse,
    NIC) bounced it straight back. Now we call SetSuspendState directly
    with bWakeUpEventsDisabled=TRUE (after enabling SE_SHUTDOWN_NAME),
    which suspends with wake events disabled — the power button still
    wakes it. The call blocks until resume, so we pause the controller
    poller for the duration too.

    Downloads