On Friday 21 June 2002 1:27 pm, John Levon wrote: > On Fri, Jun 21, 2002 at 01:06:48PM +0100, Angus Leeming wrote: > > > But we get an FL_DRAW: what parts of the pixmap should we copy into the > > > real lyx window ? We don't know from this point, so we have to copy the > > > whole thing :/ > > > > But we do know if xev contains this info and (if my xforms patch is > > applied) now it does. > > Yeah ? Excellent. From your emails, I got the impression that each > FL_DRAW had an XEvent for the entire workarea. If that's not the case > (i.e. only the areas exposed by expose() are sent as FL_DRAWs), cool !
I haven't investigated in depth, playing mainly by resize-ing the main dialog. The window manager of course emits an XEvent that says the entire form has changed. However, looking at compress_redraw in event.c (starts at line 540) suggests to me that the xev dimensions ARE thrown away. Could you have a look and tell me I'm wrong please ;-) Could you also re-create you patch again now that you've committed some bits and not others and got me confused ;-) I'll continue investigating thereafter. Currently trying to build the qt frontend for a little light relief. A