[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r104378: src/xselect.c (x_handle_sele
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r104378: src/xselect.c (x_handle_selection_request): Fix typo in last change. |
Date: |
Thu, 26 May 2011 15:20:59 -0400 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 104378
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Thu 2011-05-26 15:20:59 -0400
message:
src/xselect.c (x_handle_selection_request): Fix typo in last change.
modified:
src/xselect.c
=== modified file 'src/xselect.c'
--- a/src/xselect.c 2011-05-26 17:42:32 +0000
+++ b/src/xselect.c 2011-05-26 19:20:59 +0000
@@ -811,10 +811,6 @@
int success = 0;
int count = SPECPDL_INDEX ();
- TRACE2 ("x_handle_selection_request, from=0x%08lx time=%lu",
- (unsigned long) SELECTION_EVENT_REQUESTOR (event),
- (unsigned long) SELECTION_EVENT_TIME (event));
-
GCPRO2 (local_selection_data, target_symbol);
/* Decline if we don't own any selections. */
@@ -836,6 +832,10 @@
x_start_queuing_selection_requests ();
record_unwind_protect (queue_selection_requests_unwind, Qnil);
+ TRACE2 ("x_handle_selection_request: selection=%s, target=%s",
+ SDATA (SYMBOL_NAME (selection_symbol)),
+ SDATA (SYMBOL_NAME (target_symbol)));
+
if (EQ (target_symbol, QMULTIPLE))
{
/* For MULTIPLE targets, the event property names a list of atom
@@ -849,7 +849,7 @@
multprop = x_get_window_property_as_lisp_data (display, requestor,
property,
QMULTIPLE, selection);
- if (!VECTORP (multprop) || !(ASIZE (multprop) % 2))
+ if (!VECTORP (multprop) || ASIZE (multprop) % 2)
goto DONE;
nselections = ASIZE (multprop) / 2;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r104378: src/xselect.c (x_handle_selection_request): Fix typo in last change.,
Chong Yidong <=