14b0ead49Smrg<?xml version="1.0" encoding="UTF-8" ?>
24b0ead49Smrg<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
34b0ead49Smrg            "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" >
44b0ead49Smrg<reference>
54b0ead49Smrg<!--
64b0ead49Smrg Based on proto/compositeproto/compositeproto.txt
74b0ead49Smrg
84b0ead49Smrg Conversion to DocBook/XML API documentation is:
94b0ead49Smrg
1049dc963fSmrg Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
1149dc963fSmrg
124b0ead49Smrg Permission is hereby granted, free of charge, to any person obtaining a
1349dc963fSmrg copy of this software and associated documentation files (the "Software"),
1449dc963fSmrg to deal in the Software without restriction, including without limitation
1549dc963fSmrg the rights to use, copy, modify, merge, publish, distribute, sublicense,
1649dc963fSmrg and/or sell copies of the Software, and to permit persons to whom the
1749dc963fSmrg Software is furnished to do so, subject to the following conditions:
1849dc963fSmrg
1949dc963fSmrg The above copyright notice and this permission notice (including the next
2049dc963fSmrg paragraph) shall be included in all copies or substantial portions of the
2149dc963fSmrg Software.
2249dc963fSmrg
2349dc963fSmrg THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2449dc963fSmrg IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2549dc963fSmrg FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
2649dc963fSmrg THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2749dc963fSmrg LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2849dc963fSmrg FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2949dc963fSmrg DEALINGS IN THE SOFTWARE.
304b0ead49Smrg
314b0ead49Smrg -->
324b0ead49Smrg<title>X Composite Extension Library</title>
334b0ead49Smrg
344b0ead49Smrg<refentry id='Xcomposite.man'>
354b0ead49Smrg <refentryinfo>
364b0ead49Smrg  <productname>__vendorversion__</productname>
374b0ead49Smrg  <pubdate>23 April 2007</pubdate>
384b0ead49Smrg  <authorgroup>
394b0ead49Smrg   <author><firstname>Keith</firstname><surname>Packard</surname>
404b0ead49Smrg	   <contrib>Extension specification and implementation</contrib>
414b0ead49Smrg	   <email>keithp@keithp.com</email>
424b0ead49Smrg   </author>
434b0ead49Smrg   <author><firstname>Deron</firstname><surname>Johnson</surname>
444b0ead49Smrg	   <contrib>Overlay Window specification and implementation</contrib>
454b0ead49Smrg	   <email>deron.johnson@sun.com</email>
464b0ead49Smrg   </author>
474b0ead49Smrg  </authorgroup>
484b0ead49Smrg </refentryinfo>
494b0ead49Smrg
504b0ead49Smrg <refmeta>
514b0ead49Smrg  <refentrytitle>Xcomposite</refentrytitle>
524b0ead49Smrg  <manvolnum>__libmansuffix__</manvolnum>
534b0ead49Smrg </refmeta>
544b0ead49Smrg <refnamediv>
554b0ead49Smrg  <refname>Xcomposite</refname>
564b0ead49Smrg  <refpurpose>X Composite Extension library</refpurpose>
574b0ead49Smrg </refnamediv>
584b0ead49Smrg <refsynopsisdiv><funcsynopsis>
594b0ead49Smrg  <funcsynopsisinfo>#include &lt;X11/extensions/Xcomposite.h&gt;</funcsynopsisinfo>
604b0ead49Smrg  <funcprototype>
614b0ead49Smrg   <funcdef>Bool <function>XCompositeQueryExtension</function></funcdef>
624b0ead49Smrg   <paramdef><type>Display *</type><parameter>dpy</parameter></paramdef>
6352b01e16Smrg   <paramdef>int *<parameter>event_base_return</parameter></paramdef>
6452b01e16Smrg   <paramdef>int *<parameter>error_base_return</parameter></paramdef>
654b0ead49Smrg  </funcprototype>
664b0ead49Smrg  <funcprototype>
674b0ead49Smrg   <funcdef>Status <function>XCompositeQueryVersion</function></funcdef>
684b0ead49Smrg   <paramdef>Display *<parameter>dpy</parameter></paramdef>
6952b01e16Smrg   <paramdef>int *<parameter>major_version_return</parameter></paramdef>
7052b01e16Smrg   <paramdef>int *<parameter>minor_version_return</parameter></paramdef>
714b0ead49Smrg  </funcprototype>
724b0ead49Smrg  <funcprototype>
734b0ead49Smrg   <funcdef>int <function>XCompositeVersion</function></funcdef>
744b0ead49Smrg   <void />
754b0ead49Smrg  </funcprototype>
764b0ead49Smrg  <funcprototype>
774b0ead49Smrg   <funcdef>void <function>XCompositeRedirectWindow</function></funcdef>
784b0ead49Smrg   <paramdef>Display *<parameter>dpy</parameter></paramdef>
794b0ead49Smrg   <paramdef>Window <parameter>window</parameter></paramdef>
804b0ead49Smrg   <paramdef>int <parameter>update</parameter></paramdef>
814b0ead49Smrg  </funcprototype>
824b0ead49Smrg  <funcprototype>
834b0ead49Smrg   <funcdef>void <function>XCompositeRedirectSubwindows</function></funcdef>
844b0ead49Smrg   <paramdef>Display *<parameter>dpy</parameter></paramdef>
854b0ead49Smrg   <paramdef>Window <parameter>window</parameter></paramdef>
864b0ead49Smrg   <paramdef>int <parameter>update</parameter></paramdef>
874b0ead49Smrg  </funcprototype>
884b0ead49Smrg  <funcprototype>
894b0ead49Smrg   <funcdef>void <function>XCompositeUnredirectWindow</function></funcdef>
904b0ead49Smrg   <paramdef>Display *<parameter>dpy</parameter></paramdef>
914b0ead49Smrg   <paramdef>Window <parameter>window</parameter></paramdef>
924b0ead49Smrg   <paramdef>int <parameter>update</parameter></paramdef>
934b0ead49Smrg  </funcprototype>
944b0ead49Smrg  <funcprototype>
954b0ead49Smrg   <funcdef>void <function>XCompositeUnredirectSubwindows</function></funcdef>
964b0ead49Smrg   <paramdef>Display *<parameter>dpy</parameter></paramdef>
974b0ead49Smrg   <paramdef>Window <parameter>window</parameter></paramdef>
984b0ead49Smrg   <paramdef>int <parameter>update</parameter></paramdef>
994b0ead49Smrg  </funcprototype>
1004b0ead49Smrg  <funcprototype>
1014b0ead49Smrg   <funcdef>XserverRegion <function>XCompositeCreateRegionFromBorderClip</function></funcdef>
1024b0ead49Smrg   <paramdef>Display *<parameter>dpy</parameter></paramdef>
1034b0ead49Smrg   <paramdef>Window <parameter>window</parameter></paramdef>
1044b0ead49Smrg  </funcprototype>
1054b0ead49Smrg  <funcprototype>
1064b0ead49Smrg   <funcdef>Pixmap <function>XCompositeNameWindowPixmap</function></funcdef>
1074b0ead49Smrg   <paramdef>Display *<parameter>dpy</parameter></paramdef>
1084b0ead49Smrg   <paramdef>Window <parameter>window</parameter></paramdef>
1094b0ead49Smrg  </funcprototype>
1104b0ead49Smrg  <funcprototype>
1114b0ead49Smrg   <funcdef>Window <function>XCompositeGetOverlayWindow</function></funcdef>
1124b0ead49Smrg   <paramdef>Display *<parameter>dpy</parameter></paramdef>
1134b0ead49Smrg   <paramdef>Window <parameter>window</parameter></paramdef>
1144b0ead49Smrg  </funcprototype>
1154b0ead49Smrg  <funcprototype>
1164b0ead49Smrg   <funcdef>void <function>XCompositeReleaseOverlayWindow</function></funcdef>
1174b0ead49Smrg   <paramdef>Display *<parameter>dpy</parameter></paramdef>
1184b0ead49Smrg   <paramdef>Window <parameter>window</parameter></paramdef>
1194b0ead49Smrg  </funcprototype>
1204b0ead49Smrg </funcsynopsis></refsynopsisdiv>
1214b0ead49Smrg
1224b0ead49Smrg<refsect1><title>Description</title>
1234b0ead49Smrg<para>
1244b0ead49SmrgThe composite extension provides several related mechanisms:
1254b0ead49Smrg <variablelist>
1264b0ead49Smrg  <varlistentry>
1274b0ead49Smrg   <term>Per-hierarchy storage</term>
1284b0ead49Smrg   <listitem><para>
1294b0ead49Smrg	The rendering of an entire hierarchy of windows
1304b0ead49Smrg 	is redirected to off-screen storage. The pixels of that hierarchy
1314b0ead49Smrg	are available whenever it is viewable. Storage is automatically
1324b0ead49Smrg	reallocated when the top level window changes size. Contents beyond
1334b0ead49Smrg	the geometry of the top window are not preserved.
1344b0ead49Smrg   </para></listitem>
1354b0ead49Smrg  </varlistentry>
1364b0ead49Smrg  <varlistentry>
1374b0ead49Smrg   <term>Automatic shadow update</term>
1384b0ead49Smrg   <listitem><para>
1394b0ead49Smrg 	When a hierarchy is rendered off-screen,
1404b0ead49Smrg 	the X server provides an automatic mechanism for presenting those
1414b0ead49Smrg	contents within the parent window. The implementation is free to
1424b0ead49Smrg	make this update lag behind actual rendering operations by an
1434b0ead49Smrg	unspecified amount of time. This automatic update mechanism may
1444b0ead49Smrg	be disabled so that the parent window contents can be completely
1454b0ead49Smrg	determined by an external application.
1464b0ead49Smrg   </para></listitem>
1474b0ead49Smrg  </varlistentry>
1484b0ead49Smrg  <varlistentry>
1494b0ead49Smrg   <term>Composite Overlay Window</term>
1504b0ead49Smrg   <listitem><para>
1514b0ead49Smrg	Version 0.3 of the protocol adds the Composite Overlay Window, which
1524b0ead49Smrg	provides compositing managers with a surface on which to draw without
1534b0ead49Smrg	interference. This window is always above normal windows and is always
1544b0ead49Smrg	below the screen saver window. It is an InputOutput window whose width
1554b0ead49Smrg	and height are the screen dimensions. Its visual is the root visual
1564b0ead49Smrg	and its border width is zero.  Attempts to redirect it using the
1574b0ead49Smrg	composite extension are ignored.  This window does not appear in the
1584b0ead49Smrg	reply of the QueryTree request. It is also an override redirect window.
1594b0ead49Smrg	These last two features make it invisible to window managers and other
1604b0ead49Smrg	X11 clients. The only way to access the XID of this window is via the
1614b0ead49Smrg	CompositeGetOverlayWindow request. Initially, the Composite Overlay
1624b0ead49Smrg	Window is unmapped.
1634b0ead49Smrg   </para></listitem>
1644b0ead49Smrg  </varlistentry>
1654b0ead49Smrg  <varlistentry>
1664b0ead49Smrg   <term>Parent window clipping</term>
1674b0ead49Smrg   <listitem><para>
1684b0ead49Smrg	Version 0.4 of the protocol modifies the semantics of parent window
1694b0ead49Smrg	clipping in the presence of manual redirected children. With this
1704b0ead49Smrg	version, the area in the parent covered by manual redirected
1714b0ead49Smrg	children is left in the parent clip list instead of being removed as
1724b0ead49Smrg	in older versions.
1734b0ead49Smrg   </para></listitem>
1744b0ead49Smrg  </varlistentry>
1754b0ead49Smrg </variablelist>
1764b0ead49Smrg</para>
1774b0ead49Smrg<para>
1784b0ead49SmrgPer-hierarchy storage may be created for individual windows or for all
1794b0ead49Smrgchildren of a window. Manual shadow update may be selected by only a single
1804b0ead49Smrgapplication for each window; manual update may also be selected on a
1814b0ead49Smrgper-window basis or for each child of a window. Detecting when to update
1824b0ead49Smrgmay be done with the Damage extension.
1834b0ead49Smrg</para>
1844b0ead49Smrg<para>
1854b0ead49SmrgThe off-screen storage includes the window contents, its borders and the
1864b0ead49Smrgcontents of all descendants.
1874b0ead49Smrg</para>
1884b0ead49Smrg</refsect1>
1894b0ead49Smrg<refsect1><title>Arguments</title>
1904b0ead49Smrg<para>
1914b0ead49Smrg <variablelist>
1924b0ead49Smrg  <varlistentry>
1934b0ead49Smrg   <term><parameter>display</parameter></term>
1944b0ead49Smrg   <listitem><para>
1954e7590efSmrg    Pointer to the <type>Display</type> structure returned from
1964b0ead49Smrg    <function>XOpenDisplay</function> for the connection to the X server.
1974b0ead49Smrg   </para></listitem>
1984b0ead49Smrg  </varlistentry>
1994b0ead49Smrg  <varlistentry>
20052b01e16Smrg   <term><parameter>event_base_return</parameter></term>
2014b0ead49Smrg   <listitem><para>
2024b0ead49Smrg    Pointer to integer where the base value for Composite Extension events
2034b0ead49Smrg    will be stored.
2044b0ead49Smrg   </para></listitem>
2054b0ead49Smrg  </varlistentry>
2064b0ead49Smrg  <varlistentry>
20752b01e16Smrg   <term><parameter>error_base_return</parameter></term>
2084b0ead49Smrg   <listitem><para>
2094b0ead49Smrg    Pointer to integer where the base value for Composite Extension errors
2104b0ead49Smrg    will be stored.
2114b0ead49Smrg   </para></listitem>
2124b0ead49Smrg  </varlistentry>
2134b0ead49Smrg  <varlistentry>
21452b01e16Smrg   <term><parameter>major_version_return</parameter></term>
2154b0ead49Smrg   <listitem><para>
2164b0ead49Smrg    Pointer to integer where the major version of the Composite Extension
2174b0ead49Smrg    supported by the X server will be stored.
2184b0ead49Smrg   </para></listitem>
2194b0ead49Smrg  </varlistentry>
2204b0ead49Smrg  <varlistentry>
22152b01e16Smrg   <term><parameter>minor_version_return</parameter></term>
2224b0ead49Smrg   <listitem><para>
2234b0ead49Smrg    Pointer to integer where the minor version of the Composite Extension
2244b0ead49Smrg    supported by the X server will be stored.
2254b0ead49Smrg   </para></listitem>
2264b0ead49Smrg  </varlistentry>
2274b0ead49Smrg  <varlistentry>
2284b0ead49Smrg   <term><parameter>window</parameter></term>
2294b0ead49Smrg   <listitem><para>
2304b0ead49Smrg    Specifies the window ID to operate on.
2314b0ead49Smrg   </para></listitem>
2324b0ead49Smrg  </varlistentry>
2334b0ead49Smrg  <varlistentry>
2344b0ead49Smrg   <term><parameter>update</parameter></term>
2354b0ead49Smrg   <listitem><para>
2364b0ead49Smrg    Specifies the mode for updating the window contents.   Must be either
2374b0ead49Smrg    <constant>CompositeRedirectAutomatic</constant> or
2384b0ead49Smrg    <constant>CompositeRedirectManual</constant>.
2394b0ead49Smrg   </para></listitem>
2404b0ead49Smrg  </varlistentry>
2414b0ead49Smrg </variablelist>
2424b0ead49Smrg</para></refsect1>
2434b0ead49Smrg<refsect1><title>Functions</title>
2444b0ead49Smrg<para>
2454b0ead49Smrg <variablelist>
2464b0ead49Smrg  <varlistentry>
2474b0ead49Smrg   <term><function>XCompositeQueryExtension</function></term>
2484b0ead49Smrg   <listitem><para>
2494e7590efSmrg    <function>XCompositeQueryExtension</function> determines if the
2504e7590efSmrg    Composite Extension is available on the given display.   It returns
2514e7590efSmrg    <constant>True</constant> if the extension is supported, otherwise
2524e7590efSmrg    <constant>False</constant>.   If the extension is present, the base
2534e7590efSmrg    values for events and errors are returned, and can be used to
2544b0ead49Smrg    decode incoming event and error values.
2554b0ead49Smrg   </para></listitem>
2564b0ead49Smrg  </varlistentry>
2574b0ead49Smrg  <varlistentry>
2584b0ead49Smrg   <term><function>XCompositeQueryVersion</function></term>
2594b0ead49Smrg   <listitem><para>
2604b0ead49Smrg    <function>XCompositeQueryVersion</function> determines if the X Server
2614e7590efSmrg    supports a version of the X Composite Extension which is compatible
2624b0ead49Smrg    with the client library. A non-zero Status is returned if a compatible
2634b0ead49Smrg    version of the extension is supported, otherwise a zero Status is returned.
2644e7590efSmrg    If the extension is supported, the major and minor version numbers are
2654b0ead49Smrg    returned to indicate the level of Composite Extension support.
2664e7590efSmrg    No other XComposite functions (except XCompositeQueryExtension) may be
2674b0ead49Smrg    called before this function.  If a client violates this  rule, the
2684b0ead49Smrg    effects of all subsequent XComposite calls that it makes are undefined.
2694b0ead49Smrg   </para></listitem>
2704b0ead49Smrg  </varlistentry>
2714b0ead49Smrg  <varlistentry>
2724b0ead49Smrg   <term><function>XCompositeVersion</function></term>
2734b0ead49Smrg   <listitem><para>
2744e7590efSmrg    <function>XCompositeVersion</function> returns the version of the
2754b0ead49Smrg    X Composite library.   The version number is encoded as:
2764b0ead49Smrg    <blockquote><para><code language="C">
2774b0ead49Smrg     (major * 10000) + (minor * 100) + revision
2784b0ead49Smrg    </code></para></blockquote>
2794b0ead49Smrg   </para>
2804b0ead49Smrg   <para>
2814b0ead49Smrg    For example, version 1.4.6 would be encoded as the integer 10406.
2824b0ead49Smrg   </para></listitem>
2834b0ead49Smrg  </varlistentry>
2844b0ead49Smrg  <varlistentry>
2854b0ead49Smrg   <term><function>XCompositeRedirectWindow</function></term>
2864b0ead49Smrg   <listitem><para>
2874e7590efSmrg	<function>XCompositeRedirectWindow</function> requests the X server
2884e7590efSmrg	to direct the hierarchy starting at <parameter>window</parameter> to
2894e7590efSmrg	off-screen storage.
2904e7590efSmrg        The <parameter>update</parameter> argument specifies whether
2914b0ead49Smrg        the contents are mirrored to the parent window automatically or not.
2924e7590efSmrg        Only one client at a time may specify an update type of
2934e7590efSmrg	<constant>CompositeRedirectManual</constant>, another attempt will
2944e7590efSmrg	result in a <errorname>BadAccess</errorname> error.  When all clients
2954b0ead49Smrg        enabling redirection terminate, the redirection will automatically be
2964b0ead49Smrg        disabled.
2974b0ead49Smrg   </para><para>
2984e7590efSmrg	The root window may not be redirected. Doing so results in a
2994b0ead49Smrg	<errorname>BadMatch</errorname>	error.  Specifying an invalid
3004b0ead49Smrg        window id will result in a <errorname>BadWindow</errorname> error.
3014b0ead49Smrg   </para></listitem>
3024b0ead49Smrg  </varlistentry>
3034b0ead49Smrg  <varlistentry>
3044b0ead49Smrg   <term><function>XCompositeRedirectSubwindows</function></term>
3054b0ead49Smrg   <listitem><para>
3064e7590efSmrg	<function>XCompositeRedirectSubwindows</function> requests the X
3074e7590efSmrg	server to redirect hierarchies starting at all current and future
3084e7590efSmrg	children of <parameter>window</parameter> as in
3094e7590efSmrg	<function>XCompositeRedirectWindow</function>.
3104e7590efSmrg	If <parameter>update</parameter> is
3114e7590efSmrg	<constant>CompositeRedirectManual</constant>, then painting of the
3124e7590efSmrg	window background during window manipulation and ClearArea requests
3134b0ead49Smrg	is inhibited.
3144b0ead49Smrg   </para></listitem>
3154b0ead49Smrg  </varlistentry>
3164b0ead49Smrg  <varlistentry>
3174b0ead49Smrg   <term><function>XCompositeUnredirectWindow</function></term>
3184b0ead49Smrg   <listitem><para>
3194e7590efSmrg	<function>XCompositeUnredirectWindow</function> requests the X
3204b0ead49Smrg	server to terminate redirection of <parameter>window</parameter>.
3214b0ead49Smrg	If the specified window was not selected for redirection by the
3224b0ead49Smrg	current client, a <errorname>BadValue</errorname> error results.
3234b0ead49Smrg   </para></listitem>
3244b0ead49Smrg  </varlistentry>
3254b0ead49Smrg  <varlistentry>
3264b0ead49Smrg   <term><function>XCompositeUnredirectSubwindows</function></term>
3274b0ead49Smrg   <listitem><para>
3284e7590efSmrg	<function>XCompositeUnredirectWindow</function> requests the X
3294b0ead49Smrg	server to terminate redirection of all children of
3304b0ead49Smrg	<parameter>window</parameter>.
3314b0ead49Smrg	If the specified window was not selected for sub-redirection by the
3324b0ead49Smrg	current client, a <errorname>BadValue</errorname> error results.
3334b0ead49Smrg   </para></listitem>
3344b0ead49Smrg  </varlistentry>
3354b0ead49Smrg  <varlistentry>
3364b0ead49Smrg   <term><function>XCompositeCreateRegionFromBorderClip</function></term>
3374b0ead49Smrg   <listitem><para>
3384b0ead49Smrg	<function>XCompositeCreateRegionFromBorderClip</function>
3394b0ead49Smrg	creates a region containing the "usual" border clip
3404b0ead49Smrg	value; that is the area of the window clipped against siblings and
3414b0ead49Smrg	the parent. This region can be used to restrict rendering to
3424b0ead49Smrg	suitable areas while updating only a single window. The region
3434b0ead49Smrg	is copied at the moment the request is executed; future changes
3444b0ead49Smrg	to the window hierarchy will not be reflected in this region.
3454b0ead49Smrg   </para></listitem>
3464b0ead49Smrg  </varlistentry>
3474b0ead49Smrg  <varlistentry>
3484b0ead49Smrg   <term><function>XCompositeNameWindowPixmap</function></term>
3494b0ead49Smrg   <listitem><para>
3504b0ead49Smrg	<function>XCompositeNameWindowPixmap</function> creates and returns
3514b0ead49Smrg	a pixmap id that serves as a reference to the off-screen storage for
3524e7590efSmrg	<parameter>window</parameter>. This pixmap will remain allocated
3534e7590efSmrg	until freed, even if the window is unmapped, reconfigured or
3544e7590efSmrg	destroyed. However, the window will get a new pixmap allocated each
3554e7590efSmrg	time it is mapped or resized, so this function will need to be
3564b0ead49Smrg	reinvoked for the client to continue to refer to the storage holding
3574e7590efSmrg	the current window contents. Generates a
3584b0ead49Smrg	<errorname>BadMatch</errorname>	error if <parameter>window</parameter>
3594b0ead49Smrg	is not redirected or is not visible.
3604b0ead49Smrg   </para><para>
3614b0ead49Smrg        The X server must support at least version 0.2 of the Composite
3624b0ead49Smrg	Extension for <function>XCompositeNameWindowPixmap</function>.
3634b0ead49Smrg   </para></listitem>
3644b0ead49Smrg  </varlistentry>
3654b0ead49Smrg  <varlistentry>
3664b0ead49Smrg   <term><function>XCompositeGetOverlayWindow</function></term>
3674b0ead49Smrg   <listitem><para>
3684b0ead49Smrg    <function>XCompositeGetOverlayWindow</function> returns the window ID
3694e7590efSmrg    of the Composite Overlay Window for
3704e7590efSmrg    the screen specified by the argument <parameter>window</parameter>.
3714e7590efSmrg    This function notifies the X server that the client wishes to use
3724e7590efSmrg    the Composite Overlay Window of this screen. If this
3734e7590efSmrg    Composite Overlay Window has not yet been mapped, it is mapped by this
3744b0ead49Smrg    request.
3754b0ead49Smrg   </para><para>
3764e7590efSmrg    The Composite Overlay Window for a particular screen will be
3774e7590efSmrg    unmapped when all clients who have called this function have
3784b0ead49Smrg    either called <function>XCompositeReleaseOverlayWindow</function>
3794b0ead49Smrg    for that screen, or terminated their connection to the X server.
3804b0ead49Smrg   </para><para>
3814b0ead49Smrg    The X server must support at least version 0.3 of the Composite
3824b0ead49Smrg    Extension for <function>XCompositeGetOverlayWindow</function>.
3834b0ead49Smrg   </para></listitem>
3844b0ead49Smrg  </varlistentry>
3854b0ead49Smrg  <varlistentry>
3864b0ead49Smrg   <term><function>XCompositeReleaseOverlayWindow</function></term>
3874b0ead49Smrg   <listitem><para>
3884e7590efSmrg    This request specifies that the client is no longer using the
3894e7590efSmrg    Composite Overlay Window on the screen specified by the
3904e7590efSmrg    argument <parameter>window</parameter>. A screen&apos;s Composite
3914b0ead49Smrg    Overlay Window is unmapped when there are no longer any clients using it.
3924b0ead49Smrg   </para><para>
3934b0ead49Smrg    The X server must support at least version 0.3 of the Composite
3944b0ead49Smrg    Extension for <function>XCompositeReleaseOverlayWindow</function>.
3954b0ead49Smrg   </para></listitem>
3964b0ead49Smrg  </varlistentry>
3974b0ead49Smrg </variablelist>
3984b0ead49Smrg</para>
3994b0ead49Smrg</refsect1>
4004b0ead49Smrg</refentry>
4014b0ead49Smrg</reference>
402