aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-03-15 06:06:07 +0000
committerRichard M. Stallman1993-03-15 06:06:07 +0000
commit99e720680aece4dc0cdd6e1bde5faf5130db0988 (patch)
tree86da42601efc9368d77d104a8563cc749d8c23c6 /src
parentc352056c41c52c5a048dafa652596841badaf3fe (diff)
downloademacs-99e720680aece4dc0cdd6e1bde5faf5130db0988.tar.gz
emacs-99e720680aece4dc0cdd6e1bde5faf5130db0988.zip
(Xatom_wm_change_state): Just declare.
(Xatom_emacs_selection, Xatom_clipboard, Xatom_clipboard_selection): (Xatom_wm_change_state, Xatom_incremental, Xatom_multiple): (Xatom_targets, Xatom_timestamp, Xatom_delete, Xatom_insert_selection): (Xatom_pair, Xatom_insert_property, Xatom_text): Decls deleted. (x_begin_selection_own): Decls deleted. (Fx_open_connection): Set up only the wm atoms here. Call Xatoms_of_xselect.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c68
1 files changed, 2 insertions, 66 deletions
diff --git a/src/xfns.c b/src/xfns.c
index f4632b40987..11948f3931c 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -116,46 +116,7 @@ Lisp_Object Vmouse_depressed;
116extern unsigned int x_mouse_x, x_mouse_y, x_mouse_grabbed; 116extern unsigned int x_mouse_x, x_mouse_y, x_mouse_grabbed;
117 117
118/* Atom for indicating window state to the window manager. */ 118/* Atom for indicating window state to the window manager. */
119Atom Xatom_wm_change_state; 119extern Atom Xatom_wm_change_state;
120
121/* When emacs became the selection owner. */
122extern Time x_begin_selection_own;
123
124/* Emacs' selection property identifier. */
125extern Atom Xatom_emacs_selection;
126
127/* Clipboard selection atom. */
128extern Atom Xatom_clipboard_selection;
129
130/* Clipboard atom. */
131extern Atom Xatom_clipboard;
132
133/* Atom for indicating incremental selection transfer. */
134extern Atom Xatom_incremental;
135
136/* Atom for indicating multiple selection request list */
137extern Atom Xatom_multiple;
138
139/* Atom for what targets emacs handles. */
140extern Atom Xatom_targets;
141
142/* Atom for indicating timstamp selection request */
143extern Atom Xatom_timestamp;
144
145/* Atom requesting we delete our selection. */
146extern Atom Xatom_delete;
147
148/* Selection magic. */
149extern Atom Xatom_insert_selection;
150
151/* Type of property for INSERT_SELECTION. */
152extern Atom Xatom_pair;
153
154/* More selection magic. */
155extern Atom Xatom_insert_property;
156
157/* Atom for indicating property type TEXT */
158extern Atom Xatom_text;
159 120
160/* Communication with window managers. */ 121/* Communication with window managers. */
161extern Atom Xatom_wm_protocols; 122extern Atom Xatom_wm_protocols;
@@ -3724,33 +3685,8 @@ arg XRM_STRING is a string of resources in xrdb format.")
3724 Vx_screen_visual = intern (x_visual_strings [screen_visual->class]); 3685 Vx_screen_visual = intern (x_visual_strings [screen_visual->class]);
3725 3686
3726 /* X Atoms used by emacs. */ 3687 /* X Atoms used by emacs. */
3688 Xatoms_of_xselect ();
3727 BLOCK_INPUT; 3689 BLOCK_INPUT;
3728 Xatom_emacs_selection = XInternAtom (x_current_display, "_EMACS_SELECTION_",
3729 False);
3730 Xatom_clipboard = XInternAtom (x_current_display, "CLIPBOARD",
3731 False);
3732 Xatom_clipboard_selection = XInternAtom (x_current_display, "_EMACS_CLIPBOARD_",
3733 False);
3734 Xatom_wm_change_state = XInternAtom (x_current_display, "WM_CHANGE_STATE",
3735 False);
3736 Xatom_incremental = XInternAtom (x_current_display, "INCR",
3737 False);
3738 Xatom_multiple = XInternAtom (x_current_display, "MULTIPLE",
3739 False);
3740 Xatom_targets = XInternAtom (x_current_display, "TARGETS",
3741 False);
3742 Xatom_timestamp = XInternAtom (x_current_display, "TIMESTAMP",
3743 False);
3744 Xatom_delete = XInternAtom (x_current_display, "DELETE",
3745 False);
3746 Xatom_insert_selection = XInternAtom (x_current_display, "INSERT_SELECTION",
3747 False);
3748 Xatom_pair = XInternAtom (x_current_display, "XA_ATOM_PAIR",
3749 False);
3750 Xatom_insert_property = XInternAtom (x_current_display, "INSERT_PROPERTY",
3751 False);
3752 Xatom_text = XInternAtom (x_current_display, "TEXT",
3753 False);
3754 Xatom_wm_protocols = XInternAtom (x_current_display, "WM_PROTOCOLS", 3690 Xatom_wm_protocols = XInternAtom (x_current_display, "WM_PROTOCOLS",
3755 False); 3691 False);
3756 Xatom_wm_take_focus = XInternAtom (x_current_display, "WM_TAKE_FOCUS", 3692 Xatom_wm_take_focus = XInternAtom (x_current_display, "WM_TAKE_FOCUS",