]> git.eshelyaron.com Git - emacs.git/commit
* nsselect.m: pasteboard_changecount is new.
authorJan Djärv <jan.h.d@swipnet.se>
Sat, 25 Oct 2014 13:56:22 +0000 (15:56 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Sat, 25 Oct 2014 13:56:22 +0000 (15:56 +0200)
commit3abb316834402a3f72f80bc4826b7bbe296c35e3
treeb03b34e5b6141ff7577eef3b8e3cdb0e5b2c65ac
parentb5ea86d124f5282992303b0d6d7146659da34026
* nsselect.m: pasteboard_changecount is new.
(ns_store_pb_change_count, ns_get_pb_change_count)
(ns_get_our_change_count_for): New functions.
(ns_string_to_pasteboard_internal): Correct comment.
type => gtype in eassert, Call ns_store_pb_change_count.
(Fns_own_selection_internal): Remove data, use value.
(Fns_disown_selection_internal, Fns_selection_owner_p): Replace
Vselection_alist check, with change count check.
(Fns_get_selection): Initialize val to Qnil.  Only get local
selection if change counts match (Bug#18799).
(nxatoms_of_nsselect): Initialize pasteboard_changecount.
src/ChangeLog
src/nsselect.m