brennan@rtp.dg.com (Dave Brennan) (07/14/90)
I've added an event handler using XtAddEventHandler to my toplevel
widget in a program for the StructureNotifyMask. After a resize my handler
is called, but the x and y values in the XConfigureEvent structure are the
x and y values before the resize. However, XGetGeometry reports the
correct position of the window (I'm comparing values translated to root
coordinates.) This occurs in an R3 server on a DG AViiON and an NCD X
terminal.
Trying an R4 server on a Sun 3/50 I find that the value reported is
correct, so it looks like this is a fixed bug. Could somebody please
confirm this?
Also, while trying out two window managers (under R4) I think I may
have run across a twm bug. When I move a window with mwm (Motif Window
Manager) the x and y in the event generated by mwm match the x and y
obtained from XGetGeometry. But, the x and y in twm's event are both three
less than the values obtained from XGetGeometry. It looks like twm is
reporting the incorrect values. I don't think I have a patched version of
twm so it is possible that this bug has been fixed.
|\
Dave Brennan | \____oo_ brennan@rtp.dg.com
=========================================((__| /___> ...rti!dg-rtp!brennan
User Interfaces, Data General | // daveb@rpitsmts.bitnet
Research Triangle Park, NC |// Phone: (919) 248-6330