keybindings: Send trigger when a key accelerator is deactivated
This is neccessary to support the GlobalShortcuts portal which demands Deactivate events. https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/47 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3680>
This commit is contained in:
@ -71,6 +71,8 @@ struct _MetaKeyBinding
|
||||
MetaKeyCombo combo;
|
||||
MetaResolvedKeyCombo resolved_combo;
|
||||
gint flags;
|
||||
/* The binding should respond to release, and was just pressed */
|
||||
gboolean release_pending;
|
||||
MetaKeyHandler *handler;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user