Re: frame size hints - for Wine



On Wed, Jan 29, 2003 at 06:15:42AM +0900, Mike McCormack wrote:
> 
> Hi Dominik,
> 
> Think of it as a recommendation, rather than a garantuee. If the window 
> manager changes the size of the frame later, that's OK. The user can 
> move the window.
> 
> If I place my window a 0,0 the frame won't be visible, so the value I'm 
> looking for is simply a location (x,y) to place my window so that the 
> frame will be more or less visible, and not off the edge of the screen. 
> If some of the WM's frame is not visible, that's OK. Just suggest me an 
> offset... it's better than nothing.
> 
> You can say that this is bad design, etc, but in the end, this is a 
> problem in Wine that is not easily solvable. At this time, I am 
> considering looking at the parent of my window and calculating the size 
> of the frame from the difference in size.  That won't work for some 
> window managers.

We have discussed this several times, and I still think a "place
my frame at ..." protocol would be much better than exposing the
implementation details of window managers to the applications.  I
doubt though that there will ever be an agreement on this as part
of the wm-spec.

Bye

Dominik ^_^  ^_^



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]