Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
GlobalShortcutBlock.h File Reference
#include "phosphorshortcuts_export.h"

Go to the source code of this file.

Namespaces

namespace  PhosphorShortcuts

Functions

PHOSPHORSHORTCUTS_EXPORT bool PhosphorShortcuts::canBlockGlobalShortcuts ()
 Session-wide suspension of global shortcuts, for a chord recorder.
PHOSPHORSHORTCUTS_EXPORT bool PhosphorShortcuts::setGlobalShortcutsBlocked (bool blocked)
 Take (true) or give back (false) one hold on the suspension.
PHOSPHORSHORTCUTS_EXPORT bool PhosphorShortcuts::globalShortcutsBlocked ()
 Whether this process currently holds at least one hold taken through setGlobalShortcutsBlocked().
PHOSPHORSHORTCUTS_EXPORT bool PhosphorShortcuts::releaseStrandedGlobalShortcutBlock ()
 Resume the global shortcuts whatever this process believes, to clear a block a previous run left behind by crashing mid-capture.