John Levon wrote: > On Sun, Feb 13, 2005 at 04:36:32PM +0000, Angus Leeming wrote: > >> Me too, given that eventually a LyXView will be able to hold multiple >> QWorkAreas. > > But each one should be a spearate QWidget, right?
I don't see how that helps us given that lyxX11EventFilter is passed only a XEvent * and must use that to distinguish the QWorkArea from which the event originated. If you can store the QWorkArea * in the XEvent, then all becomes trivial, but I'm scared of unions so don't want to think about using the "pad" entry in XEvent. -- Angus