Re: Strange initial geometry hints and metacity



On Tue, Apr 01, 2003 at 02:12:54PM +0300, Tommi Komulainen wrote: 
> Now, the result of the non-zero geometry hints is that it's making
> metacity handle the geometry rather oddly when it's saving the session. 
> Namely, the geometry metacity saves is exactly the 'base size' amount
> smaller than what Galeon is saving in its session files (the dimensions
> it gets with gtk_window_get_size.)

Metacity is trying to save the "logical size" of the window. 
So e.g. if you have an 80x24 terminal, metacity wants to save restore
80x24, rather than a pixel measurement. That way if you change your
font size you don't suddenly get total weirdness. 
 
> What is happening here?

Something is going wrong. ;-) 

Look at METACITY_VERBOSE=1 METACITY_USE_LOGFILE=1 output, there may be
a hint in there.

Havoc




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