Support g-s-d UngrabAccelerators API (#760)

This was added in g-s-d 3.33.0

Co-authored-by: David Hewitt <davidmhewitt@users.noreply.github.com>
This commit is contained in:
worldofpeace 2020-04-01 11:43:18 -04:00 committed by GitHub
parent 017d08202c
commit b450a98314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,6 +127,16 @@ namespace Gala {
return ret;
}
#if HAS_MUTTER334
public bool ungrab_accelerators (uint[] actions) throws DBusError, IOError {
foreach (uint action in actions) {
ungrab_accelerator (action);
}
return true;
}
#endif
[DBus (name = "ShowOSD")]
public void show_osd (GLib.HashTable<string, Variant> parameters) throws DBusError, IOError {
int32 monitor_index = -1;