Re: [try 3] systray patches

2007-01-09 Thread Kirill K. Smirnov
> > Or I miss something really important? If so, just provide a use-case, > > please!! > > Well, for instance if the parent is a Wine window, which would be the > case when someone implements systray handling in desktop mode, it > would break since Wine windows are not painted with the background >

Re: [try 3] systray patches

2007-01-09 Thread Alexandre Julliard
"Kirill K. Smirnov" <[EMAIL PROTECTED]> writes: > The main ideas I based upon: > 1) the parent window does not paint anything under our window. If there will > be smth, then pseudo-transparency will be broken. > 2) Any sane systray implementation satisfies 1). > 3) KDE/fluxbox/other systray

Re: [try 3] systray patches

2007-01-09 Thread Kirill K. Smirnov
> It's not transparent, Hm... Yes, it is not transparent. It is pseudo-transparent. Just for us. > it's painted with what you hope is the same > background as the parent, but there's no guarantee of that. Xlib thinks opposite. The window will be painted with the same background as the parent (no

Re: [try 3] systray patches + SetWindowPos in WM_SETICON

2007-01-09 Thread Alexandre Julliard
"Kirill K. Smirnov" <[EMAIL PROTECTED]> writes: > Why is it not a real transparency? This is the easiest way to provide only > output transparency, not input. Exactly what we need. It's not transparent, it's painted with what you hope is the same background as the parent, but there's no guarante

Re: [try 3] systray patches + SetWindowPos in WM_SETICON

2007-01-08 Thread Kirill K. Smirnov
> "Kirill K. Smirnov" <[EMAIL PROTECTED]> writes: > > Please, explain me, what is wrong with this serie of patches? > > What to do to improve them? > > As I said, making the background pixmap ParentRelative is just a hack, > it's not real transparency. Why is it not a real transparency? This is th

Re: [try 3] systray patches

2007-01-08 Thread Alexandre Julliard
"Kirill K. Smirnov" <[EMAIL PROTECTED]> writes: > Please, explain me, what is wrong with this serie of patches? > What to do to improve them? As I said, making the background pixmap ParentRelative is just a hack, it's not real transparency. You don't know how the parent will paint itself, so you

Re: [try 3] systray patches

2007-01-06 Thread Kirill K. Smirnov
Please, explain me, what is wrong with this serie of patches? What to do to improve them? http://www.winehq.org/pipermail/wine-patches/2007-January/034408.html http://www.winehq.org/pipermail/wine-patches/2007-January/034409.html http://www.winehq.org/pipermail/wine-patches/2007-January/034410.htm