On Sat, Oct 01, 2011 at 01:16:37AM +0100, Thomas Adam wrote:
> On Fri, Sep 30, 2011 at 07:45:07PM -0300, José Romildo Malaquias wrote:
> > Hello.
> > 
> > When using a terminal like gnome-terminal, I can increase or decrease
> > the size of the font it uses with the key combinations (<Control><+> and
> > <Control><-> with the gnome-terminal).
> > 
> > When increasing the font size, the terminal window is resized without
> > changing the position of its top left corner. Eventually part of the
> > window may fall off the screen in its left and/or bottom sides, if there
> > is not enough screen space for the whole window.  Then I have to
> > manually move the window in order to get it fully visible again.
> > 
> > This move could be done automatically though, as I have seen with other
> > window managers (like xfwm4 and enlightenment DR16), and it makes it
> > very confortable to increase the font size of the terminal. It could
> > work also with other windows too, like gvim, for instance.
> > 
> > Is it possible to have this behaviour in fvwm?
> 
> Not without writing a function to do so to then resize/move the window back
> again.  You can use FvwmEvent to listen for configure_window.

I have verified that many actions generates the configure_window event,
like moving or resizing a window with the mouse or keyboard. Is it
possible to distinguish a configure_window event originated from
changing the font size of the window (a terminal window, for instance)
from the other cases?

I am interested in fixing the window position only when the problem is
caused by a change in the font size.

Romildo

Reply via email to