aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xselect.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xselect.c b/src/xselect.c
index b2d47bd1175..cd1ad05fe26 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -691,6 +691,10 @@ some_frame_on_display (dpyinfo)
691 DATA and SIZE describe the data to send, already converted. 691 DATA and SIZE describe the data to send, already converted.
692 FORMAT is the unit-size (in bits) of the data to be transmitted. */ 692 FORMAT is the unit-size (in bits) of the data to be transmitted. */
693 693
694#ifdef TRACE_SELECTION
695static int cnt;
696#endif /* TRACE_SELECTION */
697
694static void 698static void
695x_reply_selection_request (event, format, data, size, type) 699x_reply_selection_request (event, format, data, size, type)
696 struct input_event *event; 700 struct input_event *event;
@@ -729,7 +733,6 @@ x_reply_selection_request (event, format, data, size, type)
729 733
730#ifdef TRACE_SELECTION 734#ifdef TRACE_SELECTION
731 { 735 {
732 static int cnt;
733 char *sel = XGetAtomName (display, reply.selection); 736 char *sel = XGetAtomName (display, reply.selection);
734 char *tgt = XGetAtomName (display, reply.target); 737 char *tgt = XGetAtomName (display, reply.target);
735 TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt); 738 TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt);