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
fcb9ffc8
Commit
fcb9ffc8
authored
Aug 29, 1992
by
Jim Blandy
Browse files
* xselect.c: Use the FRAME_X_WINDOW macro, for readability.
parent
c118dd06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/xselect.c.old
src/xselect.c.old
+2
-2
No files found.
src/xselect.c.old
View file @
fcb9ffc8
...
...
@@ -127,7 +127,7 @@ own_selection (selection_type, time)
|| ((EQ (selection_type, Qclipboard)) && !NILP (Vx_clipboard_value)))
return 1;
selecting_window =
selected_frame->display.x->window_desc
;
selecting_window =
FRAME_X_WINDOW (selected_frame)
;
XSetSelectionOwner (x_current_display, selection_type,
selecting_window, time);
owner_window = XGetSelectionOwner (x_current_display, selection_type);
...
...
@@ -550,7 +550,7 @@ get_selection_value (type)
BLOCK_INPUT;
requestor_time = last_event_timestamp;
requestor_window =
selected_frame->display.x->window_desc
;
requestor_window =
FRAME_X_WINDOW (selected_frame)
;
XConvertSelection (x_current_display, type, XA_STRING,
Xatom_emacs_selection, requestor_window, requestor_time);
XIfEvent (x_current_display,
...
...
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