HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
emacs_write: Accept and return EMACS_INT for sizes.
[bpt/emacs.git]
/
src
/
xsmfns.c
diff --git
a/src/xsmfns.c
b/src/xsmfns.c
index
825cec4
..
f3879db
100644
(file)
--- a/
src/xsmfns.c
+++ b/
src/xsmfns.c
@@
-41,6
+41,10
@@
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "process.h"
#include "keyboard.h"
#include "process.h"
#include "keyboard.h"
+#ifndef HAVE_GTK3
+#define gdk_x11_set_sm_client_id(w) gdk_set_sm_client_id (w)
+#endif
+
/* This is the event used when SAVE_SESSION_EVENT occurs. */
static struct input_event emacs_event;
/* This is the event used when SAVE_SESSION_EVENT occurs. */
static struct input_event emacs_event;
@@
-459,7
+463,7
@@
x_session_initialize (struct x_display_info *dpyinfo)
#ifdef USE_GTK
/* GTK creats a leader window by itself, but we need to tell
it about our client_id. */
#ifdef USE_GTK
/* GTK creats a leader window by itself, but we need to tell
it about our client_id. */
- gdk_set_sm_client_id (client_id);
+ gdk_
x11_
set_sm_client_id (client_id);
#else
create_client_leader_window (dpyinfo, client_id);
#endif
#else
create_client_leader_window (dpyinfo, client_id);
#endif