Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5cb39871
Commit
5cb39871
authored
Sep 06, 2007
by
Glenn Morris
Browse files
(x_reply_selection_request) <cnt>: Move static variable to file scope.
parent
424aca2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/xselect.c
src/xselect.c
+4
-1
No files found.
src/xselect.c
View file @
5cb39871
...
...
@@ -683,6 +683,10 @@ some_frame_on_display (dpyinfo)
DATA and SIZE describe the data to send, already converted.
FORMAT is the unit-size (in bits) of the data to be transmitted. */
#ifdef TRACE_SELECTION
static int cnt;
#endif /* TRACE_SELECTION */
static void
x_reply_selection_request (event, format, data, size, type)
struct input_event *event;
...
...
@@ -721,7 +725,6 @@ x_reply_selection_request (event, format, data, size, type)
#ifdef TRACE_SELECTION
{
static
int
cnt
;
char *sel = XGetAtomName (display, reply.selection);
char *tgt = XGetAtomName (display, reply.target);
TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment