mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05: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:
parent
c446955b8d
commit
37640a925e
@ -1,3 +1,11 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2003-09-29 Havoc Pennington <hp@redhat.com>
|
2003-09-29 Havoc Pennington <hp@redhat.com>
|
||||||
|
|
||||||
* src/tabpopup.c (meta_ui_tab_popup_new): put a random cap on
|
* src/tabpopup.c (meta_ui_tab_popup_new): put a random cap on
|
||||||
|
@ -4707,7 +4707,7 @@ redraw_icon (MetaWindow *window)
|
|||||||
/* We could probably be smart and just redraw the icon here,
|
/* We could probably be smart and just redraw the icon here,
|
||||||
* instead of the whole frame.
|
* 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);
|
meta_ui_queue_frame_draw (window->screen->ui, window->frame->xwindow);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4776,8 +4776,8 @@ idle_update_icon (gpointer data)
|
|||||||
|
|
||||||
window = tmp->data;
|
window = tmp->data;
|
||||||
|
|
||||||
/* As a side effect, sets window->update_icon_queued = FALSE */
|
|
||||||
meta_window_update_icon_now (window);
|
meta_window_update_icon_now (window);
|
||||||
|
window->update_icon_queued = FALSE;
|
||||||
|
|
||||||
tmp = tmp->next;
|
tmp = tmp->next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user