comparison src/xterm.h @ 52298:1a4bd2bec861

Create and initialize a client leader window so session management doesn't restart Emacs twice.
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 21 Aug 2003 19:54:47 +0000
parents 3c8a655b53e0
children 2415f47f227a
comparison
equal deleted inserted replaced
52297:3b67088aae99 52298:1a4bd2bec861
181 int icon_bitmap_id; 181 int icon_bitmap_id;
182 182
183 /* The root window of this screen. */ 183 /* The root window of this screen. */
184 Window root_window; 184 Window root_window;
185 185
186 /* Client leader window. */
187 Window client_leader_window;
188
186 /* The cursor to use for vertical scroll bars. */ 189 /* The cursor to use for vertical scroll bars. */
187 Cursor vertical_scroll_bar_cursor; 190 Cursor vertical_scroll_bar_cursor;
188 191
189 /* X Resource data base */ 192 /* X Resource data base */
190 XrmDatabase xrdb; 193 XrmDatabase xrdb;
287 Atom Xatom_wm_change_state; 290 Atom Xatom_wm_change_state;
288 291
289 /* Other WM communication */ 292 /* Other WM communication */
290 Atom Xatom_wm_configure_denied; /* When our config request is denied */ 293 Atom Xatom_wm_configure_denied; /* When our config request is denied */
291 Atom Xatom_wm_window_moved; /* When the WM moves us. */ 294 Atom Xatom_wm_window_moved; /* When the WM moves us. */
295 Atom Xatom_wm_client_leader; /* Id of client leader window. */
292 296
293 /* EditRes protocol */ 297 /* EditRes protocol */
294 Atom Xatom_editres; 298 Atom Xatom_editres;
295 299
296 /* More atoms, which are selection types. */ 300 /* More atoms, which are selection types. */
1027 extern void widget_store_internal_border P_ ((Widget)); 1031 extern void widget_store_internal_border P_ ((Widget));
1028 #endif 1032 #endif
1029 1033
1030 /* Defined in xsmfns.c */ 1034 /* Defined in xsmfns.c */
1031 #ifdef HAVE_X_SM 1035 #ifdef HAVE_X_SM
1032 extern void x_session_initialize P_ ((void)); 1036 extern void x_session_initialize P_ ((struct x_display_info *dpyinfo));
1033 extern int x_session_check_input P_ ((struct input_event *bufp, 1037 extern int x_session_check_input P_ ((struct input_event *bufp,
1034 int *numchars)); 1038 int *numchars));
1035 extern int x_session_have_connection P_ ((void)); 1039 extern int x_session_have_connection P_ ((void));
1036 #endif 1040 #endif
1037 1041