Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!purdue!bu-cs!polygen!peter From: peter@polygen.uucp (Peter Ent) Newsgroups: comp.windows.x Subject: Re: multi-window XDefineCursor Message-ID: <545@redford.UUCP> Date: 13 Sep 89 15:00:49 GMT References: <8909051506.AA19531@godzilla.goldhill.com> Reply-To: peter@redford.UUCP (Peter Ent) Organization: Polygen Corporation, Waltham, MA Lines: 20 In article <8909051506.AA19531@godzilla.goldhill.com> jne@goldhill.COM writes: > >I have a multi top-level window application (X11.R3, Xt, Athena Widgets). >Sometimes, I want to change the cursor briefly for all of my windows in >order to put up a "busy cursor". Currently, I am doing it by grabbing >the mouse. This, of course, has the undesirable side effect of grabbing >focus (under some window managers). I really only want the cursor to >be effected for my client's windows. I know I could do this with >XDefineCursor for each of my windows (including child windows). Is there >any more efficient way to do a client wide XDefineCursor? > I had the same problem and decided to use an InputOnly window that covered all the child windows, setting the InputOnly window's cursor attribute to the XC_watch cursor. This seems extremely quick and if what the X folks say is true about InputOnly windows, is quite efficent, too. Pete Ent Polygen Corp 617-890-2888