Re: FVWM: fltk window resizing

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Tue, 11 Feb 2003 08:50:53 -0500

Isaque Galdino de Araujo <isaque_at_uol.com.br> writes:
> Hi guys, I am using the 2.5.5 version and I'm facing a problem using
> fltk windows. When I increase the window size, the window is
> notified, but when it shrinks the window isn't. Do you you know how
> to solve that problem?

The reason you see this problem with Fvwm and not other window
managers is that Fvwm resizes windows by calling
XMoveResizeWindow instead of XResizeWindow.

Fvwm uses this function because it has a "ResizeMove" command.

I doubt we'll be doing any changes to use XResizeWindow instead,
fltk still wouldn't work right with the ResizeMove command.

I doubt we'll be adding an exposure event after the resize,
thats the X server's job and besides, it would cause other
applications to possibly redraw themselves twice.

I can see why the X Server might send an expose event when a window
is made larger, and not when its made smaller, but I don't know why
it only does this on an XMoveResizeWindow.
I guess its possible the XFree developers might help with this.
I didn't test any of this with other X servers.

The "optimization" fltk is doing seems like a good thing, but
its not consistent with the ICCCM and the XFree man pages since
neither says the exposure is required after a resize. I agree that
the XLib manual says there will be an exposure.

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Feb 11 2003 - 07:53:27 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST