[gtk+] gdk_window_raise (): Do not invalidate toplevel windows.
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk_window_raise (): Do not invalidate toplevel windows.
- Date: Mon, 19 Aug 2013 13:27:58 +0000 (UTC)
commit 497f25730d50a209ff37c33ebb6c582e5392a177
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Wed Jul 17 16:23:15 2013 -0300
gdk_window_raise (): Do not invalidate toplevel windows.
gdk/gdkwindow.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 40519a3..cf5d751 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -4806,7 +4806,8 @@ gdk_window_raise (GdkWindow *window)
/* Keep children in (reverse) stacking order */
gdk_window_raise_internal (window);
- if (gdk_window_is_viewable (window) &&
+ if (!gdk_window_is_toplevel (window) &&
+ gdk_window_is_viewable (window) &&
!window->input_only)
gdk_window_invalidate_region_full (window, window->clip_region, TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]