[gedit] Do not composite widgets not visible
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Do not composite widgets not visible
- Date: Mon, 11 Apr 2011 11:24:02 +0000 (UTC)
commit f0bd64c20328fca5339b9d40c67b566a039e3704
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Apr 11 13:23:42 2011 +0200
Do not composite widgets not visible
gedit/gedit-overlay.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-overlay.c b/gedit/gedit-overlay.c
index 95d7172..7cf50d6 100644
--- a/gedit/gedit-overlay.c
+++ b/gedit/gedit-overlay.c
@@ -533,7 +533,8 @@ gedit_overlay_draw (GtkWidget *widget,
window = gtk_widget_get_window (child);
- if (window == NULL || window == mywindow)
+ if (window == NULL || window == mywindow ||
+ !gdk_window_is_visible (window))
{
continue;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]