Re: RFC: `--geometry' command line option

From: Petr Tomasek <tomasek_at_etf.cuni.cz>
Date: Thu Mar 05 2009 - 14:17:36 CET

On Wed, Mar 04, 2009 at 09:48:06AM +0100, Robert Staudinger wrote:
>
> On Tue, Mar 3, 2009 at 10:10 PM, Rui Miguel Silva Seabra <rms@1407.org> wrote:
>
> [...]
>
> > I don't see any *advantage* in dropping it, or you guys simply mean
> > relaying --geometry to GTK+?
>
> The advantage of dropping it would be that it removes the Xlib.h dependency.
>
> It's possible to pass down the geometry down to where GtkWindow/s are
> created and use gtk_window_parse_geometry, but that would complicate
> the code.
>
> So I'd like to drop this unless people are really depending on it. As
> said in my initial email, geometry is usually meant to be determined
> by the window manage anyway.
>
> - Rob

Wouldn't it be possible to make this conditionally - if one compiles with
Xlib (i.e. if the GTK is compiled with Xlib) it would only have --geometry...?

(I personally consider it a bad thing to remove such options even if very
little people are using it...)

P.T.

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: butrus@jabbim.cz
SIP: butrus@ekiga.net
Received on Thu Mar 5 14:17:53 2009

This archive was generated by hypermail 2.1.8 : Thu Mar 05 2009 - 14:17:53 CET