<div>How to use Openbox+xcompmgr correctly?<br><a href="http://stackoverflow.com/q/23130581/3530420?sem=2">http://stackoverflow.com/q/23130581/3530420?sem=2</a></div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Thomas Lübkin"<thomas.luebking@gmail.com>; </div><div><b>发送时间:</b> 2014年4月17日(星期四) 上午7:33</div><div><b>收件人:</b> "LIDE"<1053481745@qq.com>; </div><div><b >抄送:</b> "xorg@freedesktop.org"<xorg@freedesktop.org>; </div><div><b>主题:</b> Re: Xwindow stack level</div></div><div><br></div>On Mittwoch, 16. April 2014 11:39:51 CEST, LIDE wrote:<br>> I decode video and show it.I create a Independent window to <br>> show my video.The window I create cover the parent window's <br>> contents.For example, the Right-click menu in parent window is <br>> covered by the video window.I'm confused with that.Do you have <br>> any suggests for that?<br><br><br>In general, please keep asking <a href="mailto:xorg@freedesktop.org" target="_blank">xorg@freedes<wbr>ktop.org</a><br><br><br>There're four possible causes:<br>1) the window is tagged "override_redirect" (not managed by the WM, thus not put into a managed stack, but simply on top of everything)<br>2) the rightclick menu is NOT tagged "override_redirect" and considered below by the WindowManager<br>3) There is no WM (thus all windows are considered "override_redirect" and new one will simply open on top of everything unless the client restacks them itself, ie. plays WM)<br>4) there's no compositor, the video uses an overlay technique (xv/vdpau) and th popups color matches the color key of the overlay (the GPU will replace the matching color in the matching region with the video content, bypassing X11)<br><br>A window manager would be sth. like fvwm, kwin, compiz, metacity, lwm, e16, openbox, mutter and a dozen other variants - desktop environments like gnome, kde, xfce, lxde usually run a WM, but if you just start an X11 display server, there won't be one - and "something else" (your client, i assume) has to control the stacking order of all relevant client windows.<br><br>Cheers,<br>Thomas<br>