diff --git a/src/DBusAccelerator.vala b/src/DBusAccelerator.vala index 287c42e3..f6696c17 100644 --- a/src/DBusAccelerator.vala +++ b/src/DBusAccelerator.vala @@ -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 parameters) throws DBusError, IOError { int32 monitor_index = -1;