Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!haven!mimsy!mojo!stripes From: stripes@eng.umd.edu (Joshua Osborne) Newsgroups: comp.windows.x Subject: Re: Another tiny R5 wish Message-ID: <1990Jul30.220835.16776@eng.umd.edu> Date: 30 Jul 90 22:08:35 GMT References: <421@bohra.cpg.oz> Sender: news@eng.umd.edu (The News System) Distribution: comp Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 24 In article <421@bohra.cpg.oz> ejp@bohra.cpg.oz (Esmond Pitt) writes: >I'd like to see something which allows Motif to tell the server to >flash the cursor without having to do it all itself. Presently Motif >has to add a timeout handler, receive the timeout event, despatch the >event, determine the current cursor state, XOR the cursor state, add >the timeout again, all to flash the cursor. [...] R4 has it. Sort of. Make the cursor a multi-buffered window, position it where you need it in the parent. In one buffer of the cursor-window draw the "on" image, draw the "off" image in the other. Tell the server how offen to display the next buffer. BTW it's not really "R4" that has it, but the Multi-Buffer extention that is included as part of the X11R4 sample server. You can have a R4 server without it, or a R3 server with it. Motif didn't use it to flash cursors because it didn't exist when they wrote that code. Don't know if they will re-write it now... -- stripes@eng.umd.edu "Security for Unix is like Josh_Osborne@Real_World,The Mutitasking for MS-DOS" "The dyslexic porgramer" - Kevin Lockwood "Don't try to change C into some nice, safe, portable programming language with all sharp edges removed, pick another language." - John Limpert