diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.impl.portal.GlobalShortcuts.xml | 4 | ||||
-rw-r--r-- | data/org.freedesktop.impl.portal.ScreenCast.xml | 12 | ||||
-rw-r--r-- | data/org.freedesktop.portal.GlobalShortcuts.xml | 4 | ||||
-rw-r--r-- | data/org.freedesktop.portal.InputCapture.xml | 19 | ||||
-rw-r--r-- | data/org.freedesktop.portal.RemoteDesktop.xml | 2 |
5 files changed, 28 insertions, 13 deletions
diff --git a/data/org.freedesktop.impl.portal.GlobalShortcuts.xml b/data/org.freedesktop.impl.portal.GlobalShortcuts.xml index 01018e9..fb33ee1 100644 --- a/data/org.freedesktop.impl.portal.GlobalShortcuts.xml +++ b/data/org.freedesktop.impl.portal.GlobalShortcuts.xml @@ -124,7 +124,7 @@ Activated: @session_handle: Session that requested the shortcut @shortcut_id: the application-provided ID for the notification - @timestamp: The timestamp, as seconds and microseconds since the Unix epoch. + @timestamp: the time of activation with millisecond granularity, with an undefined base. @options: Vardict with optional further information Emitted when a shortcut is activated. @@ -141,7 +141,7 @@ Deactivated: @session_handle: Session that requested the shortcut @shortcut_id: the application-provided ID for the notification - @timestamp: The timestamp, as seconds and microseconds since the Unix epoch. + @timestamp: the time of deactivation with millisecond granularity, with an undefined base. @options: Vardict with optional further information Emitted when a shortcut is deactivated. diff --git a/data/org.freedesktop.impl.portal.ScreenCast.xml b/data/org.freedesktop.impl.portal.ScreenCast.xml index 7856173..2bf7803 100644 --- a/data/org.freedesktop.impl.portal.ScreenCast.xml +++ b/data/org.freedesktop.impl.portal.ScreenCast.xml @@ -83,6 +83,18 @@ </para></listitem> </varlistentry> <varlistentry> + <term>cursor_mode u</term> + <listitem><para> + Determines how the cursor will be drawn in the screen cast stream. It must be + one of the cursor modes advertised in + #org.freedesktop.portal.impl.ScreenCast.AvailableCursorModes. Setting a cursor + mode not advertised will cause the screen cast session to be closed. The default + cursor mode is 'Hidden'. + + This option was added in version 2 of this interface. + </para></listitem> + </varlistentry> + <varlistentry> <term>restore_data (suv)</term> <listitem><para> The data to restore from a previous session. diff --git a/data/org.freedesktop.portal.GlobalShortcuts.xml b/data/org.freedesktop.portal.GlobalShortcuts.xml index 1fc2b0a..2d77e36 100644 --- a/data/org.freedesktop.portal.GlobalShortcuts.xml +++ b/data/org.freedesktop.portal.GlobalShortcuts.xml @@ -216,7 +216,7 @@ Activated: @session_handle: Session that requested the shortcut @shortcut_id: the application-provided ID for the notification - @timestamp: The timestamp, as seconds and microseconds since the Unix epoch. + @timestamp: the time of activation with millisecond granularity, with an undefined base. @options: Vardict with optional further information Notifies about a shortcut becoming active. @@ -233,7 +233,7 @@ Deactivated: @session_handle: Session that requested the shortcut @shortcut_id: the application-provided ID for the notification - @timestamp: The timestamp, as seconds and microseconds since the Unix epoch. + @timestamp: the time of deactivation with millisecond granularity, with an undefined base. @options: Vardict with optional further information Notifies that a shortcut is not active anymore. diff --git a/data/org.freedesktop.portal.InputCapture.xml b/data/org.freedesktop.portal.InputCapture.xml index 2b068a9..b12ce9b 100644 --- a/data/org.freedesktop.portal.InputCapture.xml +++ b/data/org.freedesktop.portal.InputCapture.xml @@ -205,8 +205,11 @@ (from compositor-determined input devices) are sent to the application via the transport layer. - Pointer barriers are situated on the top or left of their respective pixels and a - pointer barrier must be situated at the outside boundary of the union of all zones. + Pointer barriers are situated on the top (for horizontal barriers) or left + (for vertical barriers) edge of their respective pixels and their width or height + is inclusive each pixel's width or height. In other words, a barrier spanning + x1=0, x2=1 is exactly two pixels wide. A pointer barrier must be situated at the + outside boundary of the union of all zones. A pointer barrier must be fully contained within one zone. For example, consider two zones of size 1920x1080 with offsets @@ -214,12 +217,12 @@ The following pointer barriers are permitted: <itemizedlist> - <listitem><para>top edge of left screen: <literal>x1=0,y1=0,x2=1920,y1=0</literal></para></listitem> - <listitem><para>bottom edge of left screen: <literal>x1=0,y1=1080,x2=1920,y1=1080</literal></para></listitem> - <listitem><para>top edge of right screen: <literal>x1=1920,y1=0,x2=3840,y1=0</literal></para></listitem> - <listitem><para>bottom edge of right screen: <literal>x1=1920,y1=1080,x2=3840,y1=1080</literal></para></listitem> - <listitem><para>left edge of left screen: <literal>x1=0,y1=0,x2=0,y1=1920</literal></para></listitem> - <listitem><para>right edge of right screen: <literal>x1=3840,y1=0,x2=3840,y1=1920</literal></para></listitem> + <listitem><para>top edge of left screen: <literal>x1=0,y1=0,x2=1919,y1=0</literal></para></listitem> + <listitem><para>bottom edge of left screen: <literal>x1=0,y1=1080,x2=1919,y1=1080</literal></para></listitem> + <listitem><para>top edge of right screen: <literal>x1=1920,y1=0,x2=3839,y1=0</literal></para></listitem> + <listitem><para>bottom edge of right screen: <literal>x1=1920,y1=1080,x2=3839,y1=1080</literal></para></listitem> + <listitem><para>left edge of left screen: <literal>x1=0,y1=0,x2=0,y1=1079</literal></para></listitem> + <listitem><para>right edge of right screen: <literal>x1=3840,y1=0,x2=3840,y1=1079</literal></para></listitem> </itemizedlist> A pointer barrier is considered triggered when the pointer would diff --git a/data/org.freedesktop.portal.RemoteDesktop.xml b/data/org.freedesktop.portal.RemoteDesktop.xml index ec0e094..9ef6671 100644 --- a/data/org.freedesktop.portal.RemoteDesktop.xml +++ b/data/org.freedesktop.portal.RemoteDesktop.xml @@ -41,7 +41,7 @@ method together with certain methods on the #org.freedesktop.portal.ScreenCast and #org.freedesktop.portal.Clipboard interfaces. Specifically, you can call org.freedesktop.portal.ScreenCast.SelectSources() to also get screen content, - and org.freedesktop.portal.ScreenCast.OpenPipewireRemote() to acquire a file + and org.freedesktop.portal.ScreenCast.OpenPipeWireRemote() to acquire a file descriptor for a PipeWire remote. See #org.freedesktop.portal.ScreenCast for more information on how to use those methods. To capture clipboard content, you can call org.freedesktop.portal.Clipboard.RequestClipboard(). See |