swot

neuSWc screenshOT tool
git clone https://git.daat.foo/swot.git
Log | Files | Refs | README | LICENSE

layer.xml (4190B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <protocol name="wlr_layer_shell_unstable_v1">
      3   <copyright>
      4     Copyright © 2017 Drew DeVault
      5 
      6     Permission to use, copy, modify, distribute, and sell this
      7     software and its documentation for any purpose is hereby granted
      8     without fee, provided that the above copyright notice appear in
      9     all copies and that both that copyright notice and this permission
     10     notice appear in supporting documentation, and that the name of
     11     the copyright holders not be used in advertising or publicity
     12     pertaining to distribution of the software without specific,
     13     written prior permission.  The copyright holders make no
     14     representations about the suitability of this software for any
     15     purpose.  It is provided "as is" without express or implied
     16     warranty.
     17 
     18     THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
     19     SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
     20     FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
     21     SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
     22     WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
     23     AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
     24     ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
     25     THIS SOFTWARE.
     26   </copyright>
     27   <interface name="zwlr_layer_shell_v1" version="1">
     28     <request name="get_layer_surface">
     29       <arg name="id" type="new_id" interface="zwlr_layer_surface_v1" />
     30       <arg name="surface" type="object" interface="wl_surface" />
     31       <arg name="output" type="object" interface="wl_output" allow-null="true" />
     32       <arg name="layer" type="uint" enum="layer" />
     33       <arg name="namespace" type="string" />
     34     </request>
     35     <enum name="error">
     36       <entry name="role" value="0" />
     37       <entry name="invalid_layer" value="1" />
     38       <entry name="already_constructed" value="2" />
     39     </enum>
     40     <enum name="layer">
     41       <entry name="background" value="0" />
     42       <entry name="bottom" value="1" />
     43       <entry name="top" value="2" />
     44       <entry name="overlay" value="3" />
     45     </enum>
     46   </interface>
     47   <interface name="zwlr_layer_surface_v1" version="1">
     48     <request name="set_size">
     49       <arg name="width" type="uint" />
     50       <arg name="height" type="uint" />
     51     </request>
     52     <request name="set_anchor">
     53       <arg name="anchor" type="uint" enum="anchor" />
     54     </request>
     55     <request name="set_exclusive_zone">
     56       <arg name="zone" type="int" />
     57     </request>
     58     <request name="set_margin">
     59       <arg name="top" type="int" />
     60       <arg name="right" type="int" />
     61       <arg name="bottom" type="int" />
     62       <arg name="left" type="int" />
     63     </request>
     64     <enum name="keyboard_interactivity">
     65       <entry name="none" value="0">
     66         </entry>
     67       <entry name="exclusive" value="1">
     68         </entry>
     69     </enum>
     70     <request name="set_keyboard_interactivity">
     71       <arg name="keyboard_interactivity" type="uint" enum="keyboard_interactivity" />
     72     </request>
     73     <request name="get_popup">
     74       <arg name="popup" type="object" interface="xdg_popup" />
     75     </request>
     76     <request name="ack_configure">
     77       <arg name="serial" type="uint" />
     78     </request>
     79     <request name="destroy" type="destructor">
     80       </request>
     81     <event name="configure">
     82       <arg name="serial" type="uint" />
     83       <arg name="width" type="uint" />
     84       <arg name="height" type="uint" />
     85     </event>
     86     <event name="closed">
     87       </event>
     88     <enum name="error">
     89       <entry name="invalid_surface_state" value="0" />
     90       <entry name="invalid_size" value="1" />
     91       <entry name="invalid_anchor" value="2" />
     92       <entry name="invalid_keyboard_interactivity" value="3" />
     93       <entry name="invalid_exclusive_edge" value="4" />
     94     </enum>
     95     <enum name="anchor" bitfield="true">
     96       <entry name="top" value="1" />
     97       <entry name="bottom" value="2" />
     98       <entry name="left" value="4" />
     99       <entry name="right" value="8" />
    100     </enum>
    101   </interface>
    102   <!-- Type reference for get_popup, which swot never calls. -->
    103   <interface name="xdg_popup" version="1">
    104     <request name="destroy" type="destructor" />
    105   </interface>
    106 </protocol>