mirror of
https://github.com/elementary/gala.git
synced 2024-08-16 18:40:27 +03:00
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:
parent
017d08202c
commit
b450a98314
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user