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