At 21:25 28/01/01 -0500, Mike Alexander wrote:
Unfortunately that wasn't quite enough. That patch is basically
ok (but
see below), but when hack_motif_clipboard_selection is called owned_p is
always zero which makes the new x_selection_strict_motif_ownership switch
irrelevant. The problem is that own-selection-internal is always called
(as far as I can tell) with the how-to-add parameter defaulted to nil. In
this case it doesn't set prev_value and hence owned_p is nil when the
device method is called. The attached patch seem to fix this.
Cool. Go ahead and apply if you can.
It also seems to me that the documentation for
x-selection-strict-motif-ownership is backwards. It says that if it is
true (the default) then XEmacs won't own the clipboard again if it already
owns it, but it seems to be just the opposite. Since it's not clear to me
which the default should be and whether the documentation or the code is
wrong, I didn't change anything.
Uncertain about this. Possibly the default should be off rather than on.
andy
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd