Re: Quick question about spec
- From: Tim Janik <timj gtk org>
- To: Bradley Tyson Hughes <bhughes tcac net>
- cc: wm-spec-list gnome org, Paul Warren <pdw ferret lmh ox ac uk>
- Subject: Re: Quick question about spec
- Date: Tue, 22 Feb 2000 06:08:33 +0100 (CET)
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]