aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-08-29 03:33:12 +0000
committerJim Blandy1992-08-29 03:33:12 +0000
commitfcb9ffc8ae2c2f01b124a32fd776b5ab11033d70 (patch)
tree4684301f78def45cea3d46f7f34c4eca93dc54ad /src
parentc118dd0617ec2a39c4d699b284c25297ca4a20c5 (diff)
downloademacs-fcb9ffc8ae2c2f01b124a32fd776b5ab11033d70.tar.gz
emacs-fcb9ffc8ae2c2f01b124a32fd776b5ab11033d70.zip
* xselect.c: Use the FRAME_X_WINDOW macro, for readability.
Diffstat (limited to 'src')
-rw-r--r--src/xselect.c.old4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xselect.c.old b/src/xselect.c.old
index 7123759433e..81cdd755e8b 100644
--- a/src/xselect.c.old
+++ b/src/xselect.c.old
@@ -127,7 +127,7 @@ own_selection (selection_type, time)
127 || ((EQ (selection_type, Qclipboard)) && !NILP (Vx_clipboard_value))) 127 || ((EQ (selection_type, Qclipboard)) && !NILP (Vx_clipboard_value)))
128 return 1; 128 return 1;
129 129
130 selecting_window = selected_frame->display.x->window_desc; 130 selecting_window = FRAME_X_WINDOW (selected_frame);
131 XSetSelectionOwner (x_current_display, selection_type, 131 XSetSelectionOwner (x_current_display, selection_type,
132 selecting_window, time); 132 selecting_window, time);
133 owner_window = XGetSelectionOwner (x_current_display, selection_type); 133 owner_window = XGetSelectionOwner (x_current_display, selection_type);
@@ -550,7 +550,7 @@ get_selection_value (type)
550 550
551 BLOCK_INPUT; 551 BLOCK_INPUT;
552 requestor_time = last_event_timestamp; 552 requestor_time = last_event_timestamp;
553 requestor_window = selected_frame->display.x->window_desc; 553 requestor_window = FRAME_X_WINDOW (selected_frame);
554 XConvertSelection (x_current_display, type, XA_STRING, 554 XConvertSelection (x_current_display, type, XA_STRING,
555 Xatom_emacs_selection, requestor_window, requestor_time); 555 Xatom_emacs_selection, requestor_window, requestor_time);
556 XIfEvent (x_current_display, 556 XIfEvent (x_current_display,