Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!lll-tis!mordor!mja From: mja@mordor.s1.gov (Michael J. Allison) Newsgroups: comp.windows.x Subject: Confusing Xlib behavior with X11R2 Keywords: _XWaitForWriteable Message-ID: <22754@mordor.s1.gov> Date: 19 Sep 88 22:43:27 GMT Reply-To: mja@babelfish.llnl.gov (Michael J Allison) Organization: Computer Systems Research Group, LLNL Lines: 33 Perhaps someone can help me understand what is going on in this situation. I am not sure if I am doing something wrong, or I uncovered some feature of X11R2 on the Sun. Here is the problem: A client program has opened a window, and created a pseudo color table for it. It then procedes to draw in the window. Every once and a while the client stops drawing. Inspection with "dbx" reveals that the client is waiting in a routine called "_XWaitForDrawable", through Xlib calls like XFillArea or XFillPolygon. The client does not resume execution until some input event, such as a mouse movement, occurs within the clients window. The client performed a the following select call: XSelectInput( IRIS_display_id, IRIS_frontbuffer_window, ButtonPressMask | ButtonReleaseMask | KeyPressMask | PointerMotionMask ); The program performs in the same manner on other machines at our site. The setup we are running is: A Sun 3/110 Sun-Unix 3.5 X11 Release 2 My question is: Did I find a "feature/bug" or am I doing something wrong?