Implemented keyboard shortcut inhibit support.

This commit is contained in:
Armin Novak
2019-01-22 13:46:46 +01:00
parent 0ef64f8a84
commit 81f1fb934c
9 changed files with 347 additions and 7 deletions

View File

@@ -494,6 +494,16 @@ UWAC_API const char *UwacSeatGetName(const UwacSeat *seat);
*/
UWAC_API UwacSeatId UwacSeatGetId(const UwacSeat *seat);
/**
* Inhibits or restores keyboard shortcuts.
*
* @param seat The UwacSeat to inhibit the shortcuts for
* @param inhibit Inhibit or restore keyboard shortcuts
*
* @return UWAC_SUCCESS or an appropriate error code.
*/
UWAC_API UwacReturnCode UwacSeatInhibitShortcuts(UwacSeat* seat, bool inhibit);
#ifdef __cplusplus
}
#endif