Re: Quick question about spec



On Mon, 21 Feb 2000, Bradley Tyson Hughes wrote:

> On Mon, 21 Feb 2000, Tim Janik wrote:
> 
> [snip]
> 
> > yes, basically. it is also important for toolkits to figure the position of their
> > wm frame window, so they can store/restore window positions, since an unmapped window
> > moved to x,y will be mapped at x+frame_width,y+frame_height.
> 
> it should be easy... XTranslateCoordinates can do this... 

i'm sorry, i don't follow. the coordinates required here are not the window's
x,y but the frame's x,y. gtk contains gdk_window_get_deskrelative_origin() for exactly
this purpose. and figuring the frame requires the (virtual) root window to be identified.

---
ciaoTJ



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