mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Fix bug #118428
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:

committed by
Havoc Pennington

parent
c446955b8d
commit
37640a925e
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user