delayed expose events i posted about this a while ago but without code excerpts noone was able to help me the problem is that main win win is doing fine but when i create detail win win it does not receive it s initial expose events until main win win receives an event here are the relevent calls main win win xcreatesimplewindow mydisplay defaultrootwindow mydisplay myhint x myhint y myhint width myhint height main win line thick fg bg xsetstandardproperties mydisplay main win win main win text main win text none argv argc myhint main win gc xcreategc mydisplay main win win xmapraised mydisplay detail win win xmapsubwindows mydisplay main win win the event mask for main win is pposition psize structurenotifymask exposuremask keypressmask enterwindowmask leavewindowmask the flags are pposition psize i then create detail win win with the following calls hints has new values detail win win xcreatesimplewindow mydisplay defaultrootwindow mydisplay myhint x myhint y myhint width myhint height detail win line thick fg bg xsetstandardproperties mydisplay main win win detail win text detail win text none argv argc myhint detail win gc xcreategc mydisplay detail win win xmapraised mydisplay detail win win event mask and flags are identical to main win s flags and event mask if anybody has any idea why the initial expose events of detail win win are not received until main win win receives an event i d love to hear from them other that that everything works great so there must be some detail i m overseeing thanks for any tips robert rgasch nl oracle com ps the same message was accidentally appended to the expose events thread sorry for any confusion caused
