]> code.delx.au - gnu-emacs/commitdiff
* xselect.c: Use the FRAME_X_WINDOW macro, for readability.
authorJim Blandy <jimb@redhat.com>
Sat, 29 Aug 1992 03:33:12 +0000 (03:33 +0000)
committerJim Blandy <jimb@redhat.com>
Sat, 29 Aug 1992 03:33:12 +0000 (03:33 +0000)
src/xselect.c.old

index 7123759433e87f84b227dedd311cb1c8346a45a8..81cdd755e8b135ba08669ca34aa9ff8d2943ee5a 100644 (file)
@@ -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,