On Tue, 4 Nov 2003 18:50:16 -0500 Ricardo Baratto <[EMAIL PROTECTED]>
babbled:

> hi all,
> 
> in an xlib app i'm using ResizeRequest events to figure out when the
> user has changed the window size and then repaint the contents. 
> (the contents of the window are scaled down to fit its current size, something
> like zoom-in and zoom-out). While playing with the redraw code i noticed that
> when i resize the window to its original size, the app doesn't receive any
> ResizeRequest messages. Only expose events are sent, and my app of course
> doesn't redraw the contents appropiately for the new (original) size
> 
> is this normal behavior? if yes, which event(s) do i need to listen for in
> order to know that the window is back to its original size?

use configurenotify events, not resizrequest :)


-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
熊耳 - 車君                         [EMAIL PROTECTED]
Mobile Phone: +61 (0)413 451 899    Home Phone: 02 9698 8615
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to