Skip to content

Instantly share code, notes, and snippets.

@zmike
Last active December 4, 2015 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zmike/0a5f3a3da7b86da9893c to your computer and use it in GitHub Desktop.
Save zmike/0a5f3a3da7b86da9893c to your computer and use it in GitHub Desktop.
xdgs
--- a/unstable/xdg-shell/xdg-shell-unstable-v6.xml
+++ b/unstable/xdg-shell/xdg-shell-unstable-v6.xml
@@ -326,6 +326,9 @@
States set in this way are double-buffered. They will get applied on
the next commit.
+ Compositors will pass a draw mode in every states array when the mode is
+ not "CSD with optional dropshadow".
+
Desktop environments may extend this enum by taking up a range of
values and documenting the range they chose in this description.
They are not required to document the values for the range that they
@@ -364,6 +367,11 @@
keyboard or pointer focus.
</description>
</entry>
+ <entry name="draw_noshadow" value="101" summary="CSD with no dropshadow">
+ <description summary="the surface has CSD without dropshadow">
+ The surface contains a CSD region which does not include a dropshadow.
+ </description>
+ </entry>
</enum>
<event name="configure">
@@ -543,6 +551,20 @@
a dialog to ask the user to save their data...
</description>
</event>
+
+ <request name="set_available_draw_modes">
+ <description summary="advertise optional draw modes for the window">
+ Inform the compositor of optional draw modes which are available
+ for the window.
+
+ Calling this after an xdg_surface's first commit is a client error.
+
+ Required modes are implemented by all clients and are not present in
+ this array. If set_available_draw_modes is not called, only required
+ modes are available.
+ </description>
+ <arg name="states" type="array"/>
+ </request>
</interface>
<interface name="zxdg_popup_v6" version="1">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment