Changeset View
Changeset View
Standalone View
Standalone View
src/client/protocols/plasma-window-management.xml
Show All 11 Lines | 3 | <copyright><![CDATA[ | |||
---|---|---|---|---|---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | GNU Lesser General Public License for more details. | 14 | GNU Lesser General Public License for more details. | ||
15 | 15 | | |||
16 | You should have received a copy of the GNU Lesser General Public License | 16 | You should have received a copy of the GNU Lesser General Public License | ||
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | ]]></copyright> | 18 | ]]></copyright> | ||
19 | 19 | | |||
20 | <interface name="org_kde_plasma_window_management" version="7"> | 20 | <interface name="org_kde_plasma_window_management" version="8"> | ||
21 | <description summary="application windows management"> | 21 | <description summary="application windows management"> | ||
22 | This interface manages application windows. | 22 | This interface manages application windows. | ||
23 | It provides requests to show and hide the desktop and emits | 23 | It provides requests to show and hide the desktop and emits | ||
24 | an event every time a window is created so that the client can | 24 | an event every time a window is created so that the client can | ||
25 | use it to manage the window. | 25 | use it to manage the window. | ||
26 | 26 | | |||
27 | Only one client can bind this interface at a time. | 27 | Only one client can bind this interface at a time. | ||
28 | </description> | 28 | </description> | ||
▲ Show 20 Lines • Show All 223 Lines • ▼ Show 20 Line(s) | 141 | --> | |||
252 | <event name="icon_changed" since="7"> | 252 | <event name="icon_changed" since="7"> | ||
253 | <description summary="The icon of the window changed"> | 253 | <description summary="The icon of the window changed"> | ||
254 | This event will be sent whenever the icon of the window changes, but there is no themed | 254 | This event will be sent whenever the icon of the window changes, but there is no themed | ||
255 | icon name. Common examples are Xwayland windows which have a pixmap based icon. | 255 | icon name. Common examples are Xwayland windows which have a pixmap based icon. | ||
256 | 256 | | |||
257 | The client can request the icon using get_icon. | 257 | The client can request the icon using get_icon. | ||
258 | </description> | 258 | </description> | ||
259 | </event> | 259 | </event> | ||
260 | | ||||
261 | <event name="pid_changed"> | ||||
262 | <description summary="process id of application owning the window has changed"> | ||||
263 | This event will be sent when the process id of the application owning the window has changed. | ||||
graesslin: The pid will never change. | |||||
264 | The pid will initially be 0, meaning it hasn't been set. As the compositor sets it, the client | ||||
265 | gets notified. | ||||
266 | </description> | ||||
267 | <arg name="pid" type="uint" summary="process id"/> | ||||
uint is a native type: https://wayland.freedesktop.org/docs/html/ch04.html#sect-Protocol-Wire-Format you don't need to do an implicit cast davidedmundson: uint is a native type: https://wayland.freedesktop.org/docs/html/ch04.html#sect-Protocol-Wire… | |||||
268 | </event> | ||||
269 | | ||||
260 | </interface> | 270 | </interface> | ||
261 | </protocol> | 271 | </protocol> |
The pid will never change.