Skip to content

Commit

Permalink
docs: Clarify InputCapture.Enable options
Browse files Browse the repository at this point in the history
Currently the documentation mentions the need of passing a handle token but it is not used as the method itself doesn't return an object path.

The Disable/Release methods don't take such option, so I assumed it is a copy/paste failure
  • Loading branch information
bilelmoussaoui committed Aug 25, 2023
1 parent 3dfd6e4 commit 8d9911e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions data/org.freedesktop.portal.InputCapture.xml
Original file line number Diff line number Diff line change
Expand Up @@ -296,18 +296,6 @@
merely enables the capturing to be triggered at some future point
(e.g. by the cursor moving across a barrier). If and when that happens,
the #org.freedesktop.portal.InputCapture::Activated signal is emitted.
Supported keys in the @options vardict include:
<variablelist>
<varlistentry>
<term>handle_token s</term>
<listitem><para>
A string that will be used as the last element of the @handle. Must be a valid
object path element. See the #org.freedesktop.portal.Request documentation for
more information about the @handle.
</para></listitem>
</varlistentry>
</variablelist>
-->
<method name="Enable">
<arg type="o" name="session_handle" direction="in"/>
Expand Down

0 comments on commit 8d9911e

Please sign in to comment.