Commit be50d497 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

phosh-private: Identify xdg-surfaces by their id, not title and app id

Neither title not app ID are specified as unique in the xdg-shell protocol, and neither is required, or forbidden from changing.
parent 95b605a9
Pipeline #1548 failed with stages
......@@ -51,15 +51,16 @@
<request name="raise_xdg_surface" since="2">
<description summary="raise the given xdg surface to the top of the stack">
The id is the unique identifier obtained in an xdg_surface event.
</description>
<arg name="app_id" type="string" summary="The app_id of the xdg surface"/>
<arg name="title" type="string" summary="The title of the xdg surface" allow-null="true"/>
<arg name="id" type="uint" summary="The identifier of the xdg surface"/>
</request>
<event name="xdg_surface" since="2">
<description summary="report an xdg surface"/>
<arg name="app_id" type="string" summary="the app_id of the xdg surface"/>
<arg name="app_id" type="string" summary="the app_id of the xdg surface" allow-null="true"/>
<arg name="title" type="string" summary="the title of the xdg surface" allow-null="true"/>
<arg name="id" type="uint" summary="An unique, unchanging identifier of the xdg surface"/>
</event>
<event name="list_xdg_surfaces_done" since="2">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment