Article View: comp.windows.x
Article #36676Re: InputOnly Curiosity
From: der Mouse
Date: Mon, 12 Feb 1990 10:57
Date: Mon, 12 Feb 1990 10:57
21 lines
1361 bytes
1361 bytes
> Does anyone have a concrete example of where you'd use an InputOnly > window? Certainly. My window manager wants to display one of nine different cursors during a resize operation, depending on which ninth of the window the mouse is in. I create ten InputOnly windows, one of which blankets the window to be resized, with the other nine tiling the big one (the nine are children of the one). Each of the nine has its cursor set appropriately; I then grab the mouse with the one as the confine-to window. Then the server automatically handles restricting the mouse to the area desired and changing the cursor to match which ninth of the area it's in. It might be possible to get the same effect with InputOutput windows with backgrounds of None and border-widths of zero, but I'm not sure the semantics would be quite right. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu
Technical Details
Message-ID:
<9002121057.AA16347@Larry.McRCIM.McGill.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouseShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) Newsgroups: comp.windows.x Subject: Re: InputOnly Curiosity Message-ID: <9002121057.AA16347@Larry.McRCIM.McGill.EDU> Date: 12 Feb 90 10:57:08 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 21