Tartarus CVS: zap: christian
tartarus-commits@lists.tartarus.org
tartarus-commits@lists.tartarus.org
Fri, 22 Nov 2002 13:22:50 +0000
CVS Root: /home/cvs
Module: zap
Changes by: christian
Date: Fri Nov 22 2002 13:22:50 GMT
Log message:
Keep track of who currently owns the Global Clipboard and only send the
Message_DataRequest to them. This avoids a bug in Messenger which replies
to such messages (with an empty text file) even when it doesn't own the
Clipboard. [Bug report from Simon Birtwistle]
The handle is zeroed on startup which means we'll broadcast, so that's ok -
we'll want to listen to Message_CloseDown and zero it on that at some point.
Modified files:
sources/!ZapSource/h: ZapVars
sources/!ZapSource/s: Undo
Links:
http://cvs.tartarus.org//zap/sources/%21ZapSource/h/ZapVars.diff?r1=fff&r2=2.8
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/Undo.diff?r1=fff&r2=2.8