Newsgroups: comp.windows.x Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU (der Mouse) Subject: Re: Missing Exposures Message-ID: <9104110019.AA00976@lightning.McRCIM.McGill.EDU> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Date: 11 Apr 91 00:19:12 GMT Lines: 32 > 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. (..._2. I also assume you do in fact map ON_TOP, and that the stacking order is such that it is in front of WINDOW_1 and WINDOW_2. I also assume that you do the XSelectInput calls before you destroy ON_TOP.) > 3) All other [windows: except MAIN_WINDOW] 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?? Your server could be providing a backing-store attribute of WhenMapped for you. (This doesn't explain the lack of VisibilityNotify events; I have no guesses there, except for postulating bugs.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu