[comp.windows.x] How can I find out when my app is moved??

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (07/11/90)

    XtAddEventHandler (main_form, ConfigureNotify, FALSE, TestHandler, NULL);

You want StructureNotifyMask, not ConfigureNotify.  The argument is a mask,
not a type.  Also, you want to select for this on the shell, not on any
inferior widget.

    Also I'd like to know why xscope
    DOESN'T show a ConfigureEvent when I move the app via mwm.

It doesn't show a real event because your window isn't moved, the frame window
that it's inside of is moved.  If it doesn't show a synthetic event being
sent to the shell, then probably mwm isn't sending one?