Re: Problems with window position, virtual desktops and fonts

2001-07-02 Thread John Cupitt
Jan-Marek Glogowski wrote: > > > 3. Quick way to find the best font to fill an area > > > > I believe when you load a scaleable font, X prerenders all the glyphs in > > the font to bitmaps, ready to send to the display ... this is pretty > > slow (and used to lock the X server while it did it, tho

Re: Problems with window position, virtual desktops and fonts

2001-07-02 Thread Jan-Marek Glogowski
Hi John > > 1. Positioning of windows > > I use gdk_window_get_root_origin() and gtk_widget_set_uposition(). Works > > > 2. Show / Hide a window on the same virtual desktop > > Good question, but I can't help :-( I started to connect nearly every signal to a funtion to gain knowledge about the

Re: Problems with window position, virtual desktops and fonts

2001-07-02 Thread John Cupitt
Jan-Marek Glogowski wrote: > 1. Positioning of windows Hi Jan, I use gdk_window_get_root_origin() and gtk_widget_set_uposition(). > 2. Show / Hide a window on the same virtual desktop Good question, but I can't help :-( > 3. Quick way to find the best font to fill an area > First I check if

Problems with window position, virtual desktops and fonts

2001-07-01 Thread Jan-Marek Glogowski
Hi I have a few problems: 1. Positioning of windows 2. Show / Hide a window on the same virtual desktop 3. Quick way to find the best font to fill an area I have a problem with the window positioning Here is the code from the first problem: [schnipp] void displayer_karaoke_window_finish(voi