changeset 1053:a411429c4140

* xselect.c: Use the FRAME_X_WINDOW macro, for readability.
author Jim Blandy <jimb@redhat.com>
date Sat, 29 Aug 1992 03:33:12 +0000
parents b8defcaf1b61
children f6f13367d93c
files src/=xselect.c.old
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/=xselect.c.old	Sat Aug 29 03:31:07 1992 +0000
+++ b/src/=xselect.c.old	Sat Aug 29 03:33:12 1992 +0000
@@ -127,7 +127,7 @@
       || ((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 @@
 
   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,