aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorMiles Bader2005-08-26 09:51:52 +0000
committerMiles Bader2005-08-26 09:51:52 +0000
commitd4cccb140682cfa548a8658f905764ceb4a38cb2 (patch)
tree5230af18ee25b37efed50fa38cac1eefb47d03fc /src/xterm.c
parent5e10f34207ff594cd6570928bc0292a7b53297b8 (diff)
parentf3f01d5df3156fb408b43da0c670796c37ed084f (diff)
downloademacs-d4cccb140682cfa548a8658f905764ceb4a38cb2.tar.gz
emacs-d4cccb140682cfa548a8658f905764ceb4a38cb2.zip
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-78
Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 514-518) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 104-105) - Update from CVS
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 308456965c1..8eead3d566c 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
@@ -9274,7 +9274,14 @@ x_wm_set_icon_pixmap (f, pixmap_id)
9274#endif 9274#endif
9275 } 9275 }
9276 9276
9277#ifdef USE_X_TOOLKIT /* same as in x_wm_set_window_state. */ 9277
9278#ifdef USE_GTK
9279 {
9280 xg_set_frame_icon (f, icon_pixmap, icon_mask);
9281 return;
9282 }
9283
9284#elif defined (USE_X_TOOLKIT) /* same as in x_wm_set_window_state. */
9278 9285
9279 { 9286 {
9280 Arg al[1]; 9287 Arg al[1];
@@ -9284,12 +9291,12 @@ x_wm_set_icon_pixmap (f, pixmap_id)
9284 XtSetValues (f->output_data.x->widget, al, 1); 9291 XtSetValues (f->output_data.x->widget, al, 1);
9285 } 9292 }
9286 9293
9287#else /* not USE_X_TOOLKIT */ 9294#else /* not USE_X_TOOLKIT && not USE_GTK */
9288 9295
9289 f->output_data.x->wm_hints.flags |= (IconPixmapHint | IconMaskHint); 9296 f->output_data.x->wm_hints.flags |= (IconPixmapHint | IconMaskHint);
9290 XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); 9297 XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints);
9291 9298
9292#endif /* not USE_X_TOOLKIT */ 9299#endif /* not USE_X_TOOLKIT && not USE_GTK */
9293} 9300}
9294 9301
9295void 9302void