Re: Geometry solved!


Subject: Re: Geometry solved!
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Wed Sep 06 2000 - 03:49:32 CDT


Hi James,
        I tried incorporating something like this but it didn't work. I
tried Englightenment, Window Maker and KDE Window Managers and they all
gave 600 * 400 on openning with the -geometry setting. If I leave the
-geometry off the window size is about right.

Only sawfish seems capable of doing automatic window sizing which is why I
had not noticed a problem.

Once Lists is done I'll have another look at this in the meantime if this
is bothering other people feel free to fix it :-)

Cheers

Martin

On Mon, 4 Sep 2000, Martin Sevior wrote:

>
> I'll check this out tomorrow.
>
> Martin
>
>
> On Sun, 3 Sep 2000, James Alan Brown wrote:
>
> > The reason why you can not set the Geometry params in KDE
> >
> > maybe we need to test and do
> >
> > if Gnome { }
> > else
> >
> >
> >
> >
> > *** af/xap/unix/xap_UnixFrame.cpp ***
> >
> > // Set the size if requested (no good for KDE Geometry)!
> >
> > if (f & XAP_UnixApp::GEOMETRY_FLAG_SIZE)
> > { gint abi_width = UT_MIN( gdk_screen_width() - 30, 950);
> > gint abi_height = UT_MIN( gdk_screen_height() - 100, 1200);
> > gtk_widget_set_usize(m_wTopLevelWindow,
> > abi_width,
> > abi_height);
> > }
> > ///////////////This works fine for KDE ///////////////////////
> >
> > if (f & XAP_UnixApp::GEOMETRY_FLAG_SIZE)
> > gtk_widget_set_usize(m_wTopLevelWindow,
> > width, height);
> >
> >
> > Regards,
> > James
> >
>
>
>



This archive was generated by hypermail 2b25 : Wed Sep 06 2000 - 03:51:45 CDT