diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xselect.c b/src/xselect.c index fc3659faedd..43fdc9001ac 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -683,6 +683,10 @@ some_frame_on_display (dpyinfo) | |||
| 683 | DATA and SIZE describe the data to send, already converted. | 683 | DATA and SIZE describe the data to send, already converted. |
| 684 | FORMAT is the unit-size (in bits) of the data to be transmitted. */ | 684 | FORMAT is the unit-size (in bits) of the data to be transmitted. */ |
| 685 | 685 | ||
| 686 | #ifdef TRACE_SELECTION | ||
| 687 | static int cnt; | ||
| 688 | #endif /* TRACE_SELECTION */ | ||
| 689 | |||
| 686 | static void | 690 | static void |
| 687 | x_reply_selection_request (event, format, data, size, type) | 691 | x_reply_selection_request (event, format, data, size, type) |
| 688 | struct input_event *event; | 692 | struct input_event *event; |
| @@ -721,7 +725,6 @@ x_reply_selection_request (event, format, data, size, type) | |||
| 721 | 725 | ||
| 722 | #ifdef TRACE_SELECTION | 726 | #ifdef TRACE_SELECTION |
| 723 | { | 727 | { |
| 724 | static int cnt; | ||
| 725 | char *sel = XGetAtomName (display, reply.selection); | 728 | char *sel = XGetAtomName (display, reply.selection); |
| 726 | char *tgt = XGetAtomName (display, reply.target); | 729 | char *tgt = XGetAtomName (display, reply.target); |
| 727 | TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt); | 730 | TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt); |