[Gtkradiant] [Bug 913] Floating Window Mode Centers windows on startup

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Mon, 10 Nov 2003 19:15:52 -0600


------- Additional Comments From rfm@collectivecomputing.com  2003-11-10 19:15 -------
The start on primary monitor pref affects this. Both cases seem to be broken, in
my single display set up at least.

In the case that 'start on primary monitor' is off, 
MainFrame::primaryMonitorRect is never initialized, but gets used gtkmisc.cpp
Simply initializing this to the screen size solves part of the problem.

if 'start on primary monitor' is on, window positions restore almost correctly,
but some of the window sizes seem to get messed up.

In both cases (assuming primaryMonitorRect gets initialized) the windows seem to
migrate downward one titlebar width for every restart.

All this is win32 specific, of course.