<div class="gmail_quote">2010/9/16 Hämäläinen Kimmo <span dir="ltr">&lt;<a href="mailto:kimmo.hamalainen@nokia.com">kimmo.hamalainen@nokia.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Fri, 2010-09-03 at 16:24 +0200, ext Luca Donaggio wrote:<br>
&gt; I know that compositing is disabled in fullscreen, as some composited<br>
&gt; widget (for example the fullscreen button in hildon-extras) are shown<br>
&gt; with a black background instead of a semi-transparent one.<br>
&gt; But I noticed one thing: if a hildon-banner appears in fullscreen when<br>
&gt; one of such widgets is on the screen, the window manager turns<br>
&gt; compositing on (the translucid background of the other widget is<br>
&gt; shown), just to turn it off when the banner disappears.<br>
&gt;<br>
&gt; Is there a way to trick the window manager to act the same for<br>
&gt; arbitrary widgets as for hildon-banners?<br>
<br>
</div></div>Try explicitly preventing switching the compositing off by setting this<br>
window property (with value 0) to your application window:<br>
<br>
static void set_compositing (Display *display, Window xwindow)<br>
{<br>
        Atom atom;<br>
        int zero = 0;<br>
        atom = XInternAtom (display, &quot;_HILDON_NON_COMPOSITED_WINDOW&quot;, False);<br>
        XChangeProperty (display,<br>
                       xwindow,<br>
                       atom,<br>
                       XA_INTEGER, 32, PropModeReplace,<br>
                       (unsigned char *) &amp;zero, 1);<br>
}<br>
<br>
-Kimmo<br>
<br>
&gt;<br>
&gt; --<br>
&gt; Luca Donaggio<br>
<br>
</blockquote></div><br>That did the trick!<br><br>Thanks for your help, Kimmo.<br clear="all"><br>-- <br>Luca Donaggio<br>