|
29 | 29 | DEALINGS IN THE SOFTWARE.
|
30 | 30 | </copyright>
|
31 | 31 |
|
32 |
| - <interface name="xdg_wm_base" version="6"> |
| 32 | + <interface name="xdg_wm_base" version="7"> |
33 | 33 | <description summary="create desktop-style surfaces">
|
34 | 34 | The xdg_wm_base interface is exposed as a global object enabling clients
|
35 | 35 | to turn their wl_surfaces into windows in a desktop environment. It
|
|
122 | 122 | </event>
|
123 | 123 | </interface>
|
124 | 124 |
|
125 |
| - <interface name="xdg_positioner" version="6"> |
| 125 | + <interface name="xdg_positioner" version="7"> |
126 | 126 | <description summary="child surface positioner">
|
127 | 127 | The xdg_positioner provides a collection of rules for the placement of a
|
128 | 128 | child surface relative to a parent surface. Rules can be defined to ensure
|
|
344 | 344 |
|
345 | 345 | The default adjustment is none.
|
346 | 346 | </description>
|
347 |
| - <arg name="constraint_adjustment" type="uint" |
| 347 | + <arg name="constraint_adjustment" type="uint" enum="constraint_adjustment" |
348 | 348 | summary="bit mask of constraint adjustments"/>
|
349 | 349 | </request>
|
350 | 350 |
|
|
407 | 407 | </request>
|
408 | 408 | </interface>
|
409 | 409 |
|
410 |
| - <interface name="xdg_surface" version="6"> |
| 410 | + <interface name="xdg_surface" version="7"> |
411 | 411 | <description summary="desktop user interface surface base interface">
|
412 | 412 | An interface that may be implemented by a wl_surface, for
|
413 | 413 | implementations that provide a desktop-style user interface.
|
|
434 | 434 | manipulate a buffer prior to the first xdg_surface.configure call must
|
435 | 435 | also be treated as errors.
|
436 | 436 |
|
437 |
| - After creating a role-specific object and setting it up, the client must |
| 437 | + After creating a role-specific object and setting it up (e.g. by sending |
| 438 | + the title, app ID, size constraints, parent, etc), the client must |
438 | 439 | perform an initial commit without any buffer attached. The compositor
|
439 | 440 | will reply with initial wl_surface state such as
|
440 | 441 | wl_surface.preferred_buffer_scale followed by an xdg_surface.configure
|
|
515 | 516 | portions like drop-shadows which should be ignored for the
|
516 | 517 | purposes of aligning, placing and constraining windows.
|
517 | 518 |
|
518 |
| - The window geometry is double buffered, and will be applied at the |
519 |
| - time wl_surface.commit of the corresponding wl_surface is called. |
| 519 | + The window geometry is double-buffered state, see wl_surface.commit. |
520 | 520 |
|
521 | 521 | When maintaining a position, the compositor should treat the (x, y)
|
522 | 522 | coordinate of the window geometry as the top left corner of the window.
|
|
617 | 617 |
|
618 | 618 | </interface>
|
619 | 619 |
|
620 |
| - <interface name="xdg_toplevel" version="6"> |
| 620 | + <interface name="xdg_toplevel" version="7"> |
621 | 621 | <description summary="toplevel surface">
|
622 | 622 | This interface defines an xdg_surface role which allows a surface to,
|
623 | 623 | among other things, set window-like properties such as maximize,
|
624 | 624 | fullscreen, and minimize, set application-specific metadata like title and
|
625 | 625 | id, and well as trigger user interactive operations such as interactive
|
626 | 626 | resize and move.
|
627 | 627 |
|
| 628 | + A xdg_toplevel by default is responsible for providing the full intended |
| 629 | + visual representation of the toplevel, which depending on the window |
| 630 | + state, may mean things like a title bar, window controls and drop shadow. |
| 631 | + |
628 | 632 | Unmapping an xdg_toplevel means that the surface cannot be shown
|
629 | 633 | by the compositor until it is explicitly mapped again.
|
630 | 634 | All active operations (e.g., move, resize) are canceled and all
|
631 | 635 | attributes (e.g. title, state, stacking, ...) are discarded for
|
632 | 636 | an xdg_toplevel surface when it is unmapped. The xdg_toplevel returns to
|
633 | 637 | the state it had right after xdg_surface.get_toplevel. The client
|
634 |
| - can re-map the toplevel by perfoming a commit without any buffer |
| 638 | + can re-map the toplevel by performing a commit without any buffer |
635 | 639 | attached, waiting for a configure event and handling it as usual (see
|
636 | 640 | xdg_surface description).
|
637 | 641 |
|
|
828 | 832 | configure event to ensure that both the client and the compositor
|
829 | 833 | setting the state can be synchronized.
|
830 | 834 |
|
831 |
| - States set in this way are double-buffered. They will get applied on |
832 |
| - the next commit. |
| 835 | + States set in this way are double-buffered, see wl_surface.commit. |
833 | 836 | </description>
|
834 | 837 | <entry name="maximized" value="1" summary="the surface is maximized">
|
835 | 838 | <description summary="the surface is maximized">
|
|
869 | 872 | <description summary="the surface’s left edge is tiled">
|
870 | 873 | The window is currently in a tiled layout and the left edge is
|
871 | 874 | considered to be adjacent to another part of the tiling grid.
|
| 875 | + |
| 876 | + The client should draw without shadow or other decoration outside of |
| 877 | + the window geometry on the left edge. |
872 | 878 | </description>
|
873 | 879 | </entry>
|
874 | 880 | <entry name="tiled_right" value="6" since="2">
|
875 | 881 | <description summary="the surface’s right edge is tiled">
|
876 | 882 | The window is currently in a tiled layout and the right edge is
|
877 | 883 | considered to be adjacent to another part of the tiling grid.
|
| 884 | + |
| 885 | + The client should draw without shadow or other decoration outside of |
| 886 | + the window geometry on the right edge. |
878 | 887 | </description>
|
879 | 888 | </entry>
|
880 | 889 | <entry name="tiled_top" value="7" since="2">
|
881 | 890 | <description summary="the surface’s top edge is tiled">
|
882 | 891 | The window is currently in a tiled layout and the top edge is
|
883 | 892 | considered to be adjacent to another part of the tiling grid.
|
| 893 | + |
| 894 | + The client should draw without shadow or other decoration outside of |
| 895 | + the window geometry on the top edge. |
884 | 896 | </description>
|
885 | 897 | </entry>
|
886 | 898 | <entry name="tiled_bottom" value="8" since="2">
|
887 | 899 | <description summary="the surface’s bottom edge is tiled">
|
888 | 900 | The window is currently in a tiled layout and the bottom edge is
|
889 | 901 | considered to be adjacent to another part of the tiling grid.
|
| 902 | + |
| 903 | + The client should draw without shadow or other decoration outside of |
| 904 | + the window geometry on the bottom edge. |
890 | 905 | </description>
|
891 | 906 | </entry>
|
892 | 907 | <entry name="suspended" value="9" since="6">
|
|
896 | 911 | outputs are switched off due to screen locking.
|
897 | 912 | </description>
|
898 | 913 | </entry>
|
| 914 | + <entry name="constrained_left" value="10" since="7"> |
| 915 | + <description summary="the surface’s left edge is constrained"> |
| 916 | + The left edge of the window is currently constrained, meaning it |
| 917 | + shouldn't attempt to resize from that edge. It can for example mean |
| 918 | + it's tiled next to a monitor edge on the constrained side of the |
| 919 | + window. |
| 920 | + </description> |
| 921 | + </entry> |
| 922 | + <entry name="constrained_right" value="11" since="7"> |
| 923 | + <description summary="the surface’s right edge is constrained"> |
| 924 | + The right edge of the window is currently constrained, meaning it |
| 925 | + shouldn't attempt to resize from that edge. It can for example mean |
| 926 | + it's tiled next to a monitor edge on the constrained side of the |
| 927 | + window. |
| 928 | + </description> |
| 929 | + </entry> |
| 930 | + <entry name="constrained_top" value="12" since="7"> |
| 931 | + <description summary="the surface’s top edge is constrained"> |
| 932 | + The top edge of the window is currently constrained, meaning it |
| 933 | + shouldn't attempt to resize from that edge. It can for example mean |
| 934 | + it's tiled next to a monitor edge on the constrained side of the |
| 935 | + window. |
| 936 | + </description> |
| 937 | + </entry> |
| 938 | + <entry name="constrained_bottom" value="13" since="7"> |
| 939 | + <description summary="the surface’s bottom edge is tiled"> |
| 940 | + The bottom edge of the window is currently constrained, meaning it |
| 941 | + shouldn't attempt to resize from that edge. It can for example mean |
| 942 | + it's tiled next to a monitor edge on the constrained side of the |
| 943 | + window. |
| 944 | + </description> |
| 945 | + </entry> |
899 | 946 | </enum>
|
900 | 947 |
|
901 | 948 | <request name="set_max_size">
|
|
908 | 955 | The width and height arguments are in window geometry coordinates.
|
909 | 956 | See xdg_surface.set_window_geometry.
|
910 | 957 |
|
911 |
| - Values set in this way are double-buffered. They will get applied |
912 |
| - on the next commit. |
| 958 | + Values set in this way are double-buffered, see wl_surface.commit. |
913 | 959 |
|
914 | 960 | The compositor can use this information to allow or disallow
|
915 | 961 | different states like maximize or fullscreen and draw accurate
|
|
949 | 995 | The width and height arguments are in window geometry coordinates.
|
950 | 996 | See xdg_surface.set_window_geometry.
|
951 | 997 |
|
952 |
| - Values set in this way are double-buffered. They will get applied |
953 |
| - on the next commit. |
| 998 | + Values set in this way are double-buffered, see wl_surface.commit. |
954 | 999 |
|
955 | 1000 | The compositor can use this information to allow or disallow
|
956 | 1001 | different states like maximize or fullscreen and draw accurate
|
|
1194 | 1239 | </event>
|
1195 | 1240 | </interface>
|
1196 | 1241 |
|
1197 |
| - <interface name="xdg_popup" version="6"> |
| 1242 | + <interface name="xdg_popup" version="7"> |
1198 | 1243 | <description summary="short-lived, popup surfaces for menus">
|
1199 | 1244 | A popup surface is a short-lived, temporary surface. It can be used to
|
1200 | 1245 | implement for example menus, popovers, tooltips and other similar user
|
|
0 commit comments