summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRached Ben Mustapha <rached@benmur.net>2003-09-30 19:45:56 +0000
committerHavoc Pennington <hp@src.gnome.org>2003-09-30 19:45:56 +0000
commit37640a925e787dbd1e06d76f4c4a0c24d21fa9f9 (patch)
tree803f283b4c9f12ee09272fa4d10eebb7ea252514
parentc446955b8decadb892b63bf7c78e1bb8eda970ac (diff)
downloadmetacity-37640a925e787dbd1e06d76f4c4a0c24d21fa9f9.tar.gz
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.
-rw-r--r--ChangeLog8
-rw-r--r--src/window.c4
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index de14e97a..99a2c822 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* src/tabpopup.c (meta_ui_tab_popup_new): put a random cap on
diff --git a/src/window.c b/src/window.c
index bb7894ca..ec064249 100644
--- a/src/window.c
+++ b/src/window.c
@@ -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;
}