aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorKaroly Lorentey2005-09-04 03:48:17 +0000
committerKaroly Lorentey2005-09-04 03:48:17 +0000
commitfbf349734468d48b421c3d03074bb66dfcf3115b (patch)
tree0a7d1ee844b6c591a5a499d23e35931945106e5a /src/xterm.c
parentf0caabd962b662cccbea472995d86af718cc8d0b (diff)
parent4b5fa40e1f1ba3cafde672863a0331311d1c2695 (diff)
downloademacs-fbf349734468d48b421c3d03074bb66dfcf3115b.tar.gz
emacs-fbf349734468d48b421c3d03074bb66dfcf3115b.zip
Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Patches applied: * lorentey@elte.hu--2004/emacs--cvs-trunk--0--base-0 tag of miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-474 * lorentey@elte.hu--2004/emacs--cvs-trunk--0--patch-1 Add CVS metadata files. * lorentey@elte.hu--2004/emacs--cvs-trunk--0--patch-2 Update from CVS. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-393
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/xterm.c b/src/xterm.c
index aa0ea804ae6..04f9b895742 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -1,6 +1,6 @@
1/* X Communication module for terminals which understand the X protocol. 1/* X Communication module for terminals which understand the X protocol.
2 Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2 Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -9285,7 +9285,14 @@ x_wm_set_icon_pixmap (f, pixmap_id)
9285#endif 9285#endif
9286 } 9286 }
9287 9287
9288#ifdef USE_X_TOOLKIT /* same as in x_wm_set_window_state. */ 9288
9289#ifdef USE_GTK
9290 {
9291 xg_set_frame_icon (f, icon_pixmap, icon_mask);
9292 return;
9293 }
9294
9295#elif defined (USE_X_TOOLKIT) /* same as in x_wm_set_window_state. */
9289 9296
9290 { 9297 {
9291 Arg al[1]; 9298 Arg al[1];
@@ -9295,12 +9302,12 @@ x_wm_set_icon_pixmap (f, pixmap_id)
9295 XtSetValues (f->output_data.x->widget, al, 1); 9302 XtSetValues (f->output_data.x->widget, al, 1);
9296 } 9303 }
9297 9304
9298#else /* not USE_X_TOOLKIT */ 9305#else /* not USE_X_TOOLKIT && not USE_GTK */
9299 9306
9300 f->output_data.x->wm_hints.flags |= (IconPixmapHint | IconMaskHint); 9307 f->output_data.x->wm_hints.flags |= (IconPixmapHint | IconMaskHint);
9301 XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); 9308 XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints);
9302 9309
9303#endif /* not USE_X_TOOLKIT */ 9310#endif /* not USE_X_TOOLKIT && not USE_GTK */
9304} 9311}
9305 9312
9306void 9313void