Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: kall@mayo.EDU (Bruce Kall) Newsgroups: comp.windows.x Subject: Missing Exposures Message-ID: <9104062021.AA02913@neuro_dev.mayo.EDU> Date: 6 Apr 91 20:21:40 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 41 I have a main window (call in MAIN_WINDOW) that fills my entire screen. I have two other visible windows, children of MAIN_WINDOW, that do not overlap each other (call then WINDOW_1, WINDOW_2). I create a third window (call it ON_TOP) a child of MAIN_WINDOW and set its x,y coordinate so that when it is mapped, it is on top and partially obscures WINDOW_1 and WINDOW2. When I XDestroy ON_TOP, I'm not getting Expose/Visibility Events for WINDOW_1 and/or WINDOW_1. NOTES: 1) All windows are created with XCreateSimpleWindow, mapped with XMapwindow and then destroyed with XDestroyWindow. 2) MAIN_WINDOW is set as XSelectInput (the_display, MAIN_WINDOW, SubstructureNotifyMask | ButtonPressMask | ButtonReleaseMask | OwnerGrabButtonMask | EnterWindowMask | LeaveWindowMask | ExposureMask); 3) All other are set as: XSelectInput (the_display, ?which_window?, ButtonPressMask | ButtonReleaseMask | OwnerGrabButtonMask | EnterWindowMask | LeaveWindowMask | ExposureMask | VisibilityChangeMask); Does anybody have any suggestions as to why I'm not getting Expose Events?? \------------------------------------------------------------\ \ Bruce Kall \ Internet: Kall@Mayo.edu \ \ Mayo Clinic (Foundation) \ Phone: (507)-255-4768 \ \ Rochester, MN 55905 \ \ \------------------------------------------------------------\