Skip to content

Commit

Permalink
globalshortcuts: Specify the shortcuts result of BindShortcuts
Browse files Browse the repository at this point in the history
The method result's shortcuts list is the list of shortcuts which were
actually bound. It's valid to send any subset of shortcuts that were
passed in by the caller.
  • Loading branch information
swick committed Oct 9, 2024
1 parent 02b7051 commit 8288bbc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions data/org.freedesktop.portal.GlobalShortcuts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,11 @@
* ``shortcuts`` (``a(sa{sv})``)
A list of shortcuts. The list of keys it may contain is described
below, and is different from the @shortcuts variable of this method.
The list of shortcuts which were bound. This is a subset of the
shortcuts which were passed in from the @shortcuts variable of this
method (this includes the set of all shortcuts and the empty set).
The keys they may contain are described below, and are different from
the keys in the @shortcuts variable of this method.
Each element of the @shortcuts array returned by the
:ref:`org.freedesktop.portal.Request::Response` signal is a tuple composed of
Expand Down

0 comments on commit 8288bbc

Please sign in to comment.