[62] in Zephyr_Comments
re: cursor change upon leaving the window with a mouse button down
daemon@ATHENA.MIT.EDU (Mark W. Eichin)
Sun Jul 31 18:33:01 1988
Date: Sun, 31 Jul 88 18:32:35 EDT
From: Mark W. Eichin <eichin@ATHENA.MIT.EDU>
To: zephyr-comments@ATHENA.MIT.EDU
In-Reply-To: [0059] in Zephyr_Comments
>How about checking for a LeaveWindow (or something) event and if the
It *does* that.
>pointer has left the window, then XUngrabPointer. Also, at the moment,
>windowgram is not removed (I guess you are checking for a ButtonRelease
>event).
That is the point of checking for LeaveWindow events, to allow you to
*not* remove the windowgram.
>How about getting rid of the windowgram still and removing the
>next ButtonRelease event from queue otherwise if there is an xterm
>underneath, the x-cut-buffer will be dumped on it.
Again, getting rid of the windowgram is what we are trying to *avoid*
here, the only proposed change is to change the cursor so that it is
*clear* that the windowgram won't disappear.
As for the x-cut-buffer dumping, that may end up being a reason not to
do this (though probably a bug in xterm...)
Mark Eichin
<eichin@athena.mit.edu>
Project Athena ``Watchmaker'', ZephyrTeam