[gtk+/gtk-3-18] GDK W32: Add a comment for clarity
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-18] GDK W32: Add a comment for clarity
- Date: Sat, 5 Dec 2015 02:17:44 +0000 (UTC)
commit 448e72d9ff183e914da25bfaf7d89d5b1a7e86aa
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Sat Nov 21 04:00:33 2015 +0000
GDK W32: Add a comment for clarity
This is a copy of a similar comment in another place, which explains
why WS_EX_TRANSPARENT windows get a special treatment.
https://bugzilla.gnome.org/show_bug.cgi?id=758484
gdk/win32/gdkwindow-win32.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index 3dc69aa..a3af93f 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -1229,6 +1229,9 @@ gdk_win32_window_hide (GdkWindow *window)
if (GDK_WINDOW_TYPE (window) == GDK_WINDOW_TOPLEVEL)
ShowOwnedPopups (GDK_WINDOW_HWND (window), FALSE);
+ /* Use SetWindowPos to hide transparent windows so automatic redraws
+ * in other windows can be suppressed.
+ */
if (GetWindowLong (GDK_WINDOW_HWND (window), GWL_EXSTYLE) & WS_EX_TRANSPARENT)
{
SetWindowPos (GDK_WINDOW_HWND (window), SWP_NOZORDER_SPECIFIED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]