Mercurial > emacs
changeset 7806:ef7a60d59543
(x_wm_set_icon_position, x_wm_set_icon_pixmap):
[USE_X_TOOLKIT]: Use top-level widget's window.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 05 Jun 1994 18:17:53 +0000 |
parents | 94a6c666e4ef |
children | cd93cee36101 |
files | src/xterm.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Sun Jun 05 18:05:15 1994 +0000 +++ b/src/xterm.c Sun Jun 05 18:17:53 1994 +0000 @@ -5990,7 +5990,11 @@ struct frame *f; Pixmap icon_pixmap; { +#ifdef USE_X_TOOLKIT + Window window = XtWindow (f->display.x->widget); +#else Window window = FRAME_X_WINDOW (f); +#endif if (icon_pixmap) { @@ -6007,7 +6011,11 @@ struct frame *f; int icon_x, icon_y; { +#ifdef USE_X_TOOLKIT + Window window = XtWindow (f->display.x->widget); +#else Window window = FRAME_X_WINDOW (f); +#endif f->display.x->wm_hints.flags |= IconPositionHint; f->display.x->wm_hints.icon_x = icon_x;