Fullscreen window in metacity hides owned window

Dmitry Timoshkov dmitry at codeweavers.com
Thu Oct 2 09:38:20 CDT 2008


Michael Ost <most at museresearch.com> wrote:

> We are seeing a problem in Metacity where a fullscreen window obscures a 
> second created window that has a particular style: WS_DLGFRAME | 
> WS_THICKFRAME.
> 
> When window A is created fullscreen (WS_POPUP, size matches screen res) 
> and window B is created as an "owned window" 
> (WS_DLGFRAME|WS_THICKFRAME|WS_OVERLAPPED style with "A" as its parent) 
> you cannot see "B" if Metacity is running.
> 
> You can if other window managers are running. We tried kwin, xfce, 
> fluxbox, enlightenment or fvvm. So the problem is something specific to 
> Metacity.
> 
> You can also see window "B" if you remove either the WS_DLGFRAME or 
> WS_THICKFRAME bit from the style.
> 
> Any hints about where to look within Wine or what could be happening?

Have a look at dlls/winex11.drv/window.c. It looks like windows of type
_NET_WM_WINDOW_TYPE_DIALOG have a similar problem to the one related to
_NET_WM_WINDOW_TYPE_UTILITY. Try to comment out appropriate line of code
and see if that helps.

-- 
Dmitry.



More information about the wine-devel mailing list