<pre>Yes I thought of that option too, but in that case I would have to re-parent it too a window that is off-screen, <br>and correct me if I'm wrong but i don't think that the app would get any expose events, unless i sent them to it
<br>with a client message, say every second or so. And therefore would the window draw itself if it is off-screen?<br><br>I was just thinking if there was some nice built in feature in Compiz or some plugin that could help me with this.
<br><br>The other option would be to re-parent the windows under the cubes, but that would hinder me from allowing the cubes <br>to have a opacity since you would see the apps through the cubes.<br> <br>//Håkan<br><br>>Well, the way the wm dock does things is it reparents the window with XEmbed,
<br>>not sure if that would work for you or not<br><br>>On Wednesday 11 July 2007 09:40:47 gasol wrote:<br>>><i> Hello<br></i>>><i><br></i>>><i> I'm writing a compiz plugin that mimics the WindowMaker dock, but instead
<br></i>>><i> just being in 2d, I have cubes where icons and dockapps (actually any<br></i>>><i> application) are rendered too.<br></i>>><i><br></i>>><i> Now I'm wondering how can i hide the "real windows" that i dock and keep
<br></i>>><i> the decorator from drawing decorations on them?<br></i>>><i> Since i need to get damage-events on the windows i assume i cant just unmap<br></i>>><i> them either. =/<br></i>>><i> I've been looking on the scale plugin but i didn't find anything there that
<br></i>>><i> helped me.<br></i>>><i><br></i>>><i> Currently the docked apps are rendered both to the screen and my dock! Here<br></i>>><i> is a screenshot of the problem:<br></i>><i><span style="font-style: italic;">
></span> <a href="http://arlong-park.mine.nu/dock3.png">http://arlong-park.mine.nu/dock3.png</a><br></i>>><i><br></i>>><i> atm I'm just using the drawWindow function from the window, after i have<br></i>
>><i> scaled and rotated it.<br></i>>><i><br></i>>><i> The second thing I'm wondering about is there any way to automagically<br></i>>><i> forward the X events to the docked apps or do I have to write that code
<br></i>>><i> myself?<br></i>>><i><br></i>>><i><br></i>>><i> //Håkan</i></pre>