2003-07-28  Rached Ben Mustapha <rached@benmur.net>

        Fix bug #118428

        * src/window.c (redraw_icon): Also redraw window icon if the window
	is not mapped but its frame is.
	(idle_update_icon): Unset the window->update_icon_queued flag.
This commit is contained in:
Rached Ben Mustapha
2003-09-30 19:45:56 +00:00
committed by Havoc Pennington
parent c446955b8d
commit 37640a925e
2 changed files with 10 additions and 2 deletions

View File

@ -4707,7 +4707,7 @@ redraw_icon (MetaWindow *window)
/* We could probably be smart and just redraw the icon here,
* instead of the whole frame.
*/
if (window->frame && window->mapped)
if (window->frame && (window->mapped || window->frame->mapped))
meta_ui_queue_frame_draw (window->screen->ui, window->frame->xwindow);
}
@ -4776,8 +4776,8 @@ idle_update_icon (gpointer data)
window = tmp->data;
/* As a side effect, sets window->update_icon_queued = FALSE */
meta_window_update_icon_now (window);
window->update_icon_queued = FALSE;
tmp = tmp->next;
}