| OLD | NEW |
| 1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <protocol name="remote_shell_unstable_v1"> | 2 <protocol name="remote_shell_unstable_v1"> |
| 3 | 3 |
| 4 <copyright> | 4 <copyright> |
| 5 Copyright 2016 The Chromium Authors. | 5 Copyright 2016 The Chromium Authors. |
| 6 | 6 |
| 7 Permission is hereby granted, free of charge, to any person obtaining a | 7 Permission is hereby granted, free of charge, to any person obtaining a |
| 8 copy of this software and associated documentation files (the "Software"), | 8 copy of this software and associated documentation files (the "Software"), |
| 9 to deal in the Software without restriction, including without limitation | 9 to deal in the Software without restriction, including without limitation |
| 10 the rights to use, copy, modify, merge, publish, distribute, sublicense, | 10 the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 Warning! The protocol described in this file is experimental and backward | 31 Warning! The protocol described in this file is experimental and backward |
| 32 incompatible changes may be made. Backward compatible changes may be added | 32 incompatible changes may be made. Backward compatible changes may be added |
| 33 together with the corresponding interface version bump. Backward | 33 together with the corresponding interface version bump. Backward |
| 34 incompatible changes are done by bumping the version number in the protocol | 34 incompatible changes are done by bumping the version number in the protocol |
| 35 and interface names and resetting the interface version. Once the protocol | 35 and interface names and resetting the interface version. Once the protocol |
| 36 is to be declared stable, the 'z' prefix and the version number in the | 36 is to be declared stable, the 'z' prefix and the version number in the |
| 37 protocol and interface names are removed and the interface version number is | 37 protocol and interface names are removed and the interface version number is |
| 38 reset. | 38 reset. |
| 39 </description> | 39 </description> |
| 40 | 40 |
| 41 <interface name="zwp_remote_shell_v1" version="3"> | 41 <interface name="zwp_remote_shell_v1" version="5"> |
| 42 <description summary="remote_shell"> | 42 <description summary="remote_shell"> |
| 43 The global interface that allows clients to turn a wl_surface into a | 43 The global interface that allows clients to turn a wl_surface into a |
| 44 "real window" which is remotely managed but can be stacked, activated | 44 "real window" which is remotely managed but can be stacked, activated |
| 45 and made fullscreen by the user. | 45 and made fullscreen by the user. |
| 46 </description> | 46 </description> |
| 47 | 47 |
| 48 <enum name="container"> | 48 <enum name="container"> |
| 49 <description summary="containers for remote surfaces"> | 49 <description summary="containers for remote surfaces"> |
| 50 Determine how a remote surface should be stacked relative to other | 50 Determine how a remote surface should be stacked relative to other |
| 51 shell surfaces. | 51 shell surfaces. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 <event name="activated"> | 99 <event name="activated"> |
| 100 <description summary="activated surface changed"> | 100 <description summary="activated surface changed"> |
| 101 Notifies client that the activated surface changed. | 101 Notifies client that the activated surface changed. |
| 102 </description> | 102 </description> |
| 103 <arg name="gained_active" type="object" interface="wl_surface" allow-null=
"true"/> | 103 <arg name="gained_active" type="object" interface="wl_surface" allow-null=
"true"/> |
| 104 <arg name="lost_active" type="object" interface="wl_surface" allow-null="t
rue"/> | 104 <arg name="lost_active" type="object" interface="wl_surface" allow-null="t
rue"/> |
| 105 </event> | 105 </event> |
| 106 </interface> | 106 </interface> |
| 107 | 107 |
| 108 <interface name="zwp_remote_surface_v1" version="3"> | 108 <interface name="zwp_remote_surface_v1" version="5"> |
| 109 <description summary="A desktop window"> | 109 <description summary="A desktop window"> |
| 110 An interface that may be implemented by a wl_surface, for | 110 An interface that may be implemented by a wl_surface, for |
| 111 implementations that provide a desktop-style user interface | 111 implementations that provide a desktop-style user interface |
| 112 and allows for remotely managed windows. | 112 and allows for remotely managed windows. |
| 113 | 113 |
| 114 It provides requests to treat surfaces like windows, allowing to set | 114 It provides requests to treat surfaces like windows, allowing to set |
| 115 properties like app id and geometry. | 115 properties like app id and geometry. |
| 116 | 116 |
| 117 The client must call wl_surface.commit on the corresponding wl_surface | 117 The client must call wl_surface.commit on the corresponding wl_surface |
| 118 for the remote_surface state to take effect. | 118 for the remote_surface state to take effect. |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 The unpin may be triggered by a client's request, or some user action | 348 The unpin may be triggered by a client's request, or some user action |
| 349 directly handled by the compositor. | 349 directly handled by the compositor. |
| 350 The client may choose to ignore this event. | 350 The client may choose to ignore this event. |
| 351 </description> | 351 </description> |
| 352 </event> | 352 </event> |
| 353 | 353 |
| 354 <!-- Version 4 additions --> | 354 <!-- Version 4 additions --> |
| 355 | 355 |
| 356 <request name="set_rectangular_shadow" since="4"> | 356 <request name="set_rectangular_shadow" since="4"> |
| 357 <description summary="set a rectangular shadow"> | 357 <description summary="set a rectangular shadow"> |
| 358 Request that surface needs a rectangular shadow. | 358 » Request that surface needs a rectangular shadow. |
| 359 | 359 |
| 360 This is only a request that the surface should have a rectangular | 360 » This is only a request that the surface should have a rectangular |
| 361 shadow. The compositor may choose to ignore this request. | 361 shadow. The compositor may choose to ignore this request. |
| 362 | 362 |
| 363 The arguments are given in the output coordinate space and specifies | 363 » The arguments are given in the output coordinate space and specifies |
| 364 the inner bounds of the shadow. | 364 » the inner bounds of the shadow. |
| 365 | 365 |
| 366 The arguments are given in the output coordinate space. | 366 » The arguments are given in the output coordinate space. |
| 367 Specifying zero width and height will disable the shadow. | 367 » Specifying zero width and height will disable the shadow. |
| 368 </description> | 368 </description> |
| 369 <arg name="x" type="int"/> | 369 <arg name="x" type="int"/> |
| 370 <arg name="y" type="int"/> | 370 <arg name="y" type="int"/> |
| 371 <arg name="width" type="int"/> | 371 <arg name="width" type="int"/> |
| 372 <arg name="height" type="int"/> | 372 <arg name="height" type="int"/> |
| 373 </request> | 373 </request> |
| 374 |
| 375 <!-- Version 5 additions --> |
| 376 |
| 377 <request name="set_title" since="5"> |
| 378 <description summary="set surface title"> |
| 379 Set a short title for the surface. |
| 380 |
| 381 This string may be used to identify the surface in a task bar, |
| 382 window list, or other user interface elements provided by the |
| 383 compositor. |
| 384 |
| 385 The string must be encoded in UTF-8. |
| 386 </description> |
| 387 <arg name="title" type="string"/> |
| 388 </request> |
| 389 |
| 390 <request name="set_top_inset" since="5"> |
| 391 <description summary="set top inset for surface"> |
| 392 Set distance from the top of the surface to the contents. |
| 393 |
| 394 This distance typically represents the size of the window caption. |
| 395 </description> |
| 396 <arg name="height" type="int"/> |
| 397 </request> |
| 374 </interface> | 398 </interface> |
| 375 | 399 |
| 376 </protocol> | 400 </protocol> |
| OLD | NEW |