[Bug 9437] QIP window should not have WM titlebar

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 28 05:05:35 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=9437





--- Comment #8 from Kirill K. Smirnov <lich at math.spbu.ru>  2007-08-28 05:05:35 ---
Yes, I can remove WM titlebar using WM facilities, but is just hides the wine
bug. I think I found it:

Alexandre's patch did not introduce the bug, but revealed.

All these windows has style 0 (WS_OVERLAPPED) - no caption. CreateWindowEx for
unknown reason does not like this style and forces it to be WS_CAPTION.

user32/win.c (line 1010):
    /*
     * Correct the window styles.
     *
     * It affects only the style loaded into the WIN structure.
     */

    if ((wndPtr->dwStyle & (WS_CHILD | WS_POPUP)) != WS_CHILD)
    {
        wndPtr->dwStyle |= WS_CLIPSIBLINGS;
        if (!(wndPtr->dwStyle & WS_POPUP))
            wndPtr->dwStyle |= WS_CAPTION;
    }

What is the purpose of this correction??? I feel it is wrong. Pure overlapped
windows (like qip and winamp) must not have caption! When I commented it out,
qip and winamp begin working correct.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list