<div class="gmail_quote">2010/9/16 Hämäläinen Kimmo <span dir="ltr"><<a href="mailto:kimmo.hamalainen@nokia.com">kimmo.hamalainen@nokia.com</a>></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>
> I know that compositing is disabled in fullscreen, as some composited<br>
> widget (for example the fullscreen button in hildon-extras) are shown<br>
> with a black background instead of a semi-transparent one.<br>
> But I noticed one thing: if a hildon-banner appears in fullscreen when<br>
> one of such widgets is on the screen, the window manager turns<br>
> compositing on (the translucid background of the other widget is<br>
> shown), just to turn it off when the banner disappears.<br>
><br>
> Is there a way to trick the window manager to act the same for<br>
> 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, "_HILDON_NON_COMPOSITED_WINDOW", False);<br>
XChangeProperty (display,<br>
xwindow,<br>
atom,<br>
XA_INTEGER, 32, PropModeReplace,<br>
(unsigned char *) &zero, 1);<br>
}<br>
<br>
-Kimmo<br>
<br>
><br>
> --<br>
> 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>