Skip to content

A hardened Linux desktop, rebuilt from scratch, with your Windows apps built in. Free and open source.

413 B
Raw Blame
.pragma library

// The greeter loads Logout.qml once per screen. As a shared library this
// file lets a key press on any screen stop the countdown on all of them.

var callbacks = [];

function addCancelAutoTriggerCallback(callback) {
    callbacks.push(callback);
}

function cancelAutoTrigger() {
    callbacks.forEach(function (callback) {
        if (callback) {
            callback();
        }
    });
}