Am Donnerstag, den 21.10.2010, 22:43 +0200 schrieb Robin Gareus: > On 10/21/10 22:28, hermann wrote: > > Am Donnerstag, den 21.10.2010, 00:36 +0200 schrieb Ivan Tarozzi: > >> Il giorno dom, 17/10/2010 alle 19.02 +0200, hermann ha scritto: > [..] > >> When I close gx_head and restart, open windows are restored but they > >> didn't save their positions. So, is really hard to keep in order the > >> desktop. > > > > Do you have some Apps save their positions, witch are they, I will have > > a look at the source to see how they handle that. > > http://xjadeo.sf.net/ does (and remembers them via LASH). > > * GTK: gdk_window_get_origin() , gdk_window_get_position(), > gdk_window_set_geometry_hints() > * generic X11: TranslateCoordinates(), XMoveWindow() > * OSX: GetWindowBounds(), MoveWindow() > * Windows: GetWindowInfo(), SetWindowPos() > > Look in display_*.c for *_resize() and *_position(), > getsize_*() get_window_pos_*(). > > HTH, > robin Ah yea, will look in it, thanks. greats hermann _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user