summaryrefslogtreecommitdiff
path: root/src/=xselect.c.old
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-08-29 03:33:12 +0000
committerJim Blandy <jimb@redhat.com>1992-08-29 03:33:12 +0000
commitf408f1dc11d81e25cf927b851ce08db239a83d40 (patch)
tree18380a54811a1e33494a0c31dc7d5a2ebe8af452 /src/=xselect.c.old
parente54ed58953c7b5b90e3cd5b6ac63d0d337e0f9db (diff)
downloademacs-f408f1dc11d81e25cf927b851ce08db239a83d40.tar.gz
* xselect.c: Use the FRAME_X_WINDOW macro, for readability.
Diffstat (limited to 'src/=xselect.c.old')
-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)
|| ((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,