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="11"> | 41 <interface name="zwp_remote_shell_v1" version="12"> |
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
161 <arg name="transform" type="int"/> | 161 <arg name="transform" type="int"/> |
162 <arg name="scale_factor" type="fixed"/> | 162 <arg name="scale_factor" type="fixed"/> |
163 <arg name="work_area_inset_left" type="int"/> | 163 <arg name="work_area_inset_left" type="int"/> |
164 <arg name="work_area_inset_top" type="int"/> | 164 <arg name="work_area_inset_top" type="int"/> |
165 <arg name="work_area_inset_right" type="int"/> | 165 <arg name="work_area_inset_right" type="int"/> |
166 <arg name="work_area_inset_bottom" type="int"/> | 166 <arg name="work_area_inset_bottom" type="int"/> |
167 <arg name="layout_mode" type="uint"/> | 167 <arg name="layout_mode" type="uint"/> |
168 </event> | 168 </event> |
169 </interface> | 169 </interface> |
170 | 170 |
171 <interface name="zwp_remote_surface_v1" version="11"> | 171 <interface name="zwp_remote_surface_v1" version="12"> |
172 <description summary="A desktop window"> | 172 <description summary="A desktop window"> |
173 An interface that may be implemented by a wl_surface, for | 173 An interface that may be implemented by a wl_surface, for |
174 implementations that provide a desktop-style user interface | 174 implementations that provide a desktop-style user interface |
175 and allows for remotely managed windows. | 175 and allows for remotely managed windows. |
176 | 176 |
177 It provides requests to treat surfaces like windows, allowing to set | 177 It provides requests to treat surfaces like windows, allowing to set |
178 properties like app id and geometry. | 178 properties like app id and geometry. |
179 | 179 |
180 The client must call wl_surface.commit on the corresponding wl_surface | 180 The client must call wl_surface.commit on the corresponding wl_surface |
181 for the remote_surface state to take effect. | 181 for the remote_surface state to take effect. |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
514 | 514 |
515 This is only a request that the window should be pinned. | 515 This is only a request that the window should be pinned. |
516 The compositor may choose to ignore this request. The client should | 516 The compositor may choose to ignore this request. The client should |
517 listen to set_pinned events to determine if the window was | 517 listen to set_pinned events to determine if the window was |
518 pinned or not. If trusted flag is non-zero, the app can prevent users | 518 pinned or not. If trusted flag is non-zero, the app can prevent users |
519 from exiting the pinned mode. | 519 from exiting the pinned mode. |
520 </description> | 520 </description> |
521 <arg name="trusted" type="int" summary="whether the app can enforce users | 521 <arg name="trusted" type="int" summary="whether the app can enforce users |
522 to stay in the pinned mode."/> | 522 to stay in the pinned mode."/> |
523 </request> | 523 </request> |
524 | |
525 <!-- Version 12 additions --> | |
526 | |
527 <request name="drag" since="12"> | |
reveman
2016/09/02 14:59:25
Please use similar language as the xdg spec. ie. "
Dominik Laskowski
2016/09/15 20:07:26
Done.
| |
528 <description summary="start client-driven drag"> | |
529 Notifies the compositor when a client-driven drag of the surface starts. | |
530 The compositor may assume that subsequent set_window_geometry requests | |
531 are position updates until it receives a "drop" request. | |
532 </description> | |
533 </request> | |
534 | |
535 <request name="drop" since="12"> | |
536 <description summary="stop client-driven drag"> | |
537 Notifies the compositor when a client-driven drag of the surface stops, | |
538 and whether it was reverted. The compositor may choose to stop the drag | |
539 regardless of this request. | |
540 </description> | |
541 <arg name="revert" type="uint"/> | |
reveman
2016/09/02 14:59:25
what is this argument supposed to be used for by t
Dominik Laskowski
2016/09/15 20:07:26
If the drag is reverted after entering another dis
| |
542 </request> | |
oshima
2016/09/02 14:37:21
Chrome side may also have to abort drag (activatio
Dominik Laskowski
2016/09/15 20:07:26
The client can detect all cases that require abort
| |
524 </interface> | 543 </interface> |
525 | 544 |
526 <!-- Version 6 additions --> | 545 <!-- Version 6 additions --> |
527 | 546 |
528 <interface name="zwp_notification_surface_v1" version="6"> | 547 <interface name="zwp_notification_surface_v1" version="6"> |
529 <description summary="A notification window"> | 548 <description summary="A notification window"> |
530 An interface that may be implemented by a wl_surface to host | 549 An interface that may be implemented by a wl_surface to host |
531 notification contents. | 550 notification contents. |
532 </description> | 551 </description> |
533 | 552 |
534 <request name="destroy" type="destructor"> | 553 <request name="destroy" type="destructor"> |
535 <description summary="Destroy the notification_surface"> | 554 <description summary="Destroy the notification_surface"> |
536 Unmap and destroy the notification surface. | 555 Unmap and destroy the notification surface. |
537 </description> | 556 </description> |
538 </request> | 557 </request> |
539 </interface> | 558 </interface> |
540 | 559 |
541 </protocol> | 560 </protocol> |
OLD | NEW |