shellDBus: Add AcceleratorDeactivated D-Bus signal
Add this signal to complement AcceleratorActivated, meant to happen on the release action of shortcuts, e.g. on push-to-talk. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3598>
This commit is contained in:
parent
e2de46e9ac
commit
e53f69f9d3
@ -40,6 +40,10 @@
|
||||
<arg name="action" type="u"/>
|
||||
<arg name="parameters" type="a{sv}"/>
|
||||
</signal>
|
||||
<signal name="AcceleratorDeactivated">
|
||||
<arg name="action" type="u"/>
|
||||
<arg name="parameters" type="a{sv}"/>
|
||||
</signal>
|
||||
<property name="Mode" type="s" access="read"/>
|
||||
<property name="OverviewActive" type="b" access="readwrite"/>
|
||||
<property name="ShellVersion" type="s" access="read"/>
|
||||
|
@ -37,6 +37,10 @@ export class GnomeShell {
|
||||
(display, action, device, timestamp) => {
|
||||
this._emitAcceleratorActivated(action, device, timestamp);
|
||||
});
|
||||
global.display.connect('accelerator-deactivated',
|
||||
(display, action, device, timestamp) => {
|
||||
this._emitAcceleratorDeactivated(action, device, timestamp);
|
||||
});
|
||||
|
||||
this._cachedOverviewVisible = false;
|
||||
Main.overview.connect('showing',
|
||||
|
Loading…
x
Reference in New Issue
Block a user