Does MWM_DECOR_BORDER really cause window to have caption?

Kirill K. Smirnov lich at math.spbu.ru
Mon Sep 24 07:29:05 CDT 2007


> "Kirill K. Smirnov" <lich at math.spbu.ru> wrote:
> > I'm trying to get winamp playlist window to be painted correctly (bug
> > #8300). The problem is:
> > 0) wine version is git-current.
> > 1) winamp playlist window style is WS_CLIPSIBLINGS
> > 2) winex11 driver converts it to MWM_DECOR_BORDER hint. (window.c:599)
> > 3) This hint behaviour is WM-dependent:
> >  a) KDE - caption is painted;
> >  b) XFCE - ditto;
> >  c) fluxbox - correct (no caption).
> >
> > This situation confuses a little. I believe DECOR_BORDER does not add a
> > caption to window, but it does under great WM such as KDE. Is this
> > behaviour correct? If KDE/XFCE is a culprit, should we add a workaround
> > into wine?
>
> There is a distinct MWM hint to add a caption to a window: MWM_DECOR_TITLE.
> If this is proved to be a KDE/XFCE bug it should be reported to an
> appropriate bug tracking system.

It's better to write pure X11 app to demonstate it, but I am not familiar with 
it :-(

Anyway, what is the purpose of setting MWM_DECOR_BORDER to borderless window 
(style is WS_CLIPSIBLINGS only)? KDE, XFCE, fluxbox work OK without it.

--
Kirill



More information about the wine-devel mailing list