From 8b388cd365f461b11c2a2698993f4576d82f7bd1 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 5 Apr 2005 00:42:24 +0000 Subject: [PATCH] Don't force 24bpp GdkVisual on 32bpp displays. (#140706) 2005-04-05 Tor Lillqvist * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force 24bpp GdkVisual on 32bpp displays. (#140706) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gdk/win32/gdkvisual-win32.c | 1 - 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 35b79f9a6d..d518ab0e57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-04-05 Tor Lillqvist + + * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force + 24bpp GdkVisual on 32bpp displays. (#140706) + Mon Apr 4 19:13:23 2005 Jonathan Blandford Fix for #172319, Tristan Van Berkom: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 35b79f9a6d..d518ab0e57 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-04-05 Tor Lillqvist + + * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force + 24bpp GdkVisual on 32bpp displays. (#140706) + Mon Apr 4 19:13:23 2005 Jonathan Blandford Fix for #172319, Tristan Van Berkom: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 35b79f9a6d..d518ab0e57 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2005-04-05 Tor Lillqvist + + * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force + 24bpp GdkVisual on 32bpp displays. (#140706) + Mon Apr 4 19:13:23 2005 Jonathan Blandford Fix for #172319, Tristan Van Berkom: diff --git a/gdk/win32/gdkvisual-win32.c b/gdk/win32/gdkvisual-win32.c index d1d5a2effb..445fd2297d 100644 --- a/gdk/win32/gdkvisual-win32.c +++ b/gdk/win32/gdkvisual-win32.c @@ -238,7 +238,6 @@ _gdk_visual_init (void) } else if (bitspixel == 24 || bitspixel == 32) { - bitspixel = 24; system_visual->type = GDK_VISUAL_TRUE_COLOR; system_visual->red_mask = 0x00FF0000; system_visual->green_mask = 0x0000FF00;