emacs-devel
[Top][All Lists]
Advanced

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

Re: moving window handling into lisp


From: Stefan Monnier
Subject: Re: moving window handling into lisp
Date: Sat, 22 Aug 2009 21:01:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>> A quick test shows that Firefox handles the issue by letting the
>> window-manager shrink the window at will (down to 1x1 pixels), but its
>> content stops shrinking at some point (so some of the content is
>> clipped).

> FWIW, this is exactly the policy I suggested.  So Mozilla has a time
> machine ....

>> OTOH Empathy and Evolution seem to impose some minimal size below which
>> the window doesn't shrink.  I don't know enough about the underlying
>> protocol to know how they might do that, but presumably it's either done
>> by telling the W-M beforehand what is the minimal size,

> That's it.  In X11, these are called "window manager hints", and as
> the name suggests, the window manager is free to ignore them.  If the
> user doesn't like that behavior, they'll install a different window
> manager, so you had better be prepared to deal with such window
> managers -- it's the user's preference.

Yes: the app should simply tell what are the limits it thinks are good,
and if the W-M shrinks more you get Firefox-style behavior.
In any case: no need to delete any of our windows.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]