Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/xterm.h Thu Aug 21 17:24:58 2003 +0000 +++ b/src/xterm.h Thu Aug 21 19:54:47 2003 +0000 @@ -183,6 +183,9 @@ /* The root window of this screen. */ Window root_window; + /* Client leader window. */ + Window client_leader_window; + /* The cursor to use for vertical scroll bars. */ Cursor vertical_scroll_bar_cursor; @@ -289,6 +292,7 @@ /* Other WM communication */ Atom Xatom_wm_configure_denied; /* When our config request is denied */ Atom Xatom_wm_window_moved; /* When the WM moves us. */ + Atom Xatom_wm_client_leader; /* Id of client leader window. */ /* EditRes protocol */ Atom Xatom_editres; @@ -1029,7 +1033,7 @@ /* Defined in xsmfns.c */ #ifdef HAVE_X_SM -extern void x_session_initialize P_ ((void)); +extern void x_session_initialize P_ ((struct x_display_info *dpyinfo)); extern int x_session_check_input P_ ((struct input_event *bufp, int *numchars)); extern int x_session_have_connection P_ ((void));