detecting saving geometry changes hi i m trying to get my program to monitor resize position events so that when the program exits i can save the last known geometry in some sort of preferences file i am adding an event handler for structurenotify to the toplevelshell xtaddeventhandler toplevel structurenotifymask false configurecb mydata this works fine and my callback is called whenever the window is resized or repositioned using the window manager mwm however when i m just resizing the window using any resize handle on the window manager resize decoration the x and y are set to zero in the xevent passed to the event handler callback i m accessing the xconfigure structure like the x manual says xev xconfigure x xev xconfigure y the width and height memebers are correct when i reposition the window using the window manager the xevent s xconfigure structure contains all the correct x y width height member settings q anybody know why when just resizing the x and y are being set to zero q any other way to handle detecting and saving geometry changes i ve tried using xtgetvalues on the toplevel widget when exiting my application before destroying any widgets and all i get is garbage values for the x y width height resources thanks bob ross ross li loral com mr plow that s the name that name loral instrumentation san diego ca again is mr plow homer simpson
