From 3244b86dd68eed7ac7805817ccca44644a432eae Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 28 Feb 2002 00:49:36 +0000 Subject: [PATCH] Move bdfcursor.c from libgdk_win32_la_SOURCES to EXTRA_DIST. 2002-02-28 Tor Lillqvist * gdk/win32/Makefile.am: Move bdfcursor.c from libgdk_win32_la_SOURCES to EXTRA_DIST. * gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the bitmap case, use just the LSB of the pixel value. Does this match X11 semantics? Or should it be pixel!=0? --- ChangeLog | 9 +++++++++ ChangeLog.pre-2-0 | 9 +++++++++ ChangeLog.pre-2-10 | 9 +++++++++ ChangeLog.pre-2-2 | 9 +++++++++ ChangeLog.pre-2-4 | 9 +++++++++ ChangeLog.pre-2-6 | 9 +++++++++ ChangeLog.pre-2-8 | 9 +++++++++ gdk/win32/Makefile.am | 2 +- gdk/win32/gdkgc-win32.c | 2 +- 9 files changed, 65 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 377010e46b..615ffef1bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2002-02-28 Tor Lillqvist + + * gdk/win32/Makefile.am: Move bdfcursor.c from + libgdk_win32_la_SOURCES to EXTRA_DIST. + + * gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the + bitmap case, use just the LSB of the pixel value. Does this match + X11 semantics? Or should it be pixel!=0? + Wed Feb 27 19:16:50 2002 Owen Taylor * gdk/x11/gdkwindow-x11.c (gdk_window_new): diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 377010e46b..615ffef1bf 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,12 @@ +2002-02-28 Tor Lillqvist + + * gdk/win32/Makefile.am: Move bdfcursor.c from + libgdk_win32_la_SOURCES to EXTRA_DIST. + + * gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the + bitmap case, use just the LSB of the pixel value. Does this match + X11 semantics? Or should it be pixel!=0? + Wed Feb 27 19:16:50 2002 Owen Taylor * gdk/x11/gdkwindow-x11.c (gdk_window_new): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 377010e46b..615ffef1bf 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,12 @@ +2002-02-28 Tor Lillqvist + + * gdk/win32/Makefile.am: Move bdfcursor.c from + libgdk_win32_la_SOURCES to EXTRA_DIST. + + * gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the + bitmap case, use just the LSB of the pixel value. Does this match + X11 semantics? Or should it be pixel!=0? + Wed Feb 27 19:16:50 2002 Owen Taylor * gdk/x11/gdkwindow-x11.c (gdk_window_new): diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 377010e46b..615ffef1bf 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,12 @@ +2002-02-28 Tor Lillqvist + + * gdk/win32/Makefile.am: Move bdfcursor.c from + libgdk_win32_la_SOURCES to EXTRA_DIST. + + * gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the + bitmap case, use just the LSB of the pixel value. Does this match + X11 semantics? Or should it be pixel!=0? + Wed Feb 27 19:16:50 2002 Owen Taylor * gdk/x11/gdkwindow-x11.c (gdk_window_new): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 377010e46b..615ffef1bf 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,12 @@ +2002-02-28 Tor Lillqvist + + * gdk/win32/Makefile.am: Move bdfcursor.c from + libgdk_win32_la_SOURCES to EXTRA_DIST. + + * gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the + bitmap case, use just the LSB of the pixel value. Does this match + X11 semantics? Or should it be pixel!=0? + Wed Feb 27 19:16:50 2002 Owen Taylor * gdk/x11/gdkwindow-x11.c (gdk_window_new): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 377010e46b..615ffef1bf 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,12 @@ +2002-02-28 Tor Lillqvist + + * gdk/win32/Makefile.am: Move bdfcursor.c from + libgdk_win32_la_SOURCES to EXTRA_DIST. + + * gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the + bitmap case, use just the LSB of the pixel value. Does this match + X11 semantics? Or should it be pixel!=0? + Wed Feb 27 19:16:50 2002 Owen Taylor * gdk/x11/gdkwindow-x11.c (gdk_window_new): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 377010e46b..615ffef1bf 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,12 @@ +2002-02-28 Tor Lillqvist + + * gdk/win32/Makefile.am: Move bdfcursor.c from + libgdk_win32_la_SOURCES to EXTRA_DIST. + + * gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the + bitmap case, use just the LSB of the pixel value. Does this match + X11 semantics? Or should it be pixel!=0? + Wed Feb 27 19:16:50 2002 Owen Taylor * gdk/x11/gdkwindow-x11.c (gdk_window_new): diff --git a/gdk/win32/Makefile.am b/gdk/win32/Makefile.am index 6990dd230b..a17397f1cc 100644 --- a/gdk/win32/Makefile.am +++ b/gdk/win32/Makefile.am @@ -39,13 +39,13 @@ noinst_LTLIBRARIES = libgdk-win32.la SUBDIRS=rc EXTRA_DIST = \ + bdfcursor.c \ makefile.mingw \ makefile.msc \ libie55uuid.la \ libwntab32x.la libgdk_win32_la_SOURCES = \ - bdfcursor.c \ xcursors.h \ gdkcolor-win32.c \ gdkcursor-win32.c \ diff --git a/gdk/win32/gdkgc-win32.c b/gdk/win32/gdkgc-win32.c index a5efc8b2c9..4bbc76750c 100644 --- a/gdk/win32/gdkgc-win32.c +++ b/gdk/win32/gdkgc-win32.c @@ -784,7 +784,7 @@ _gdk_win32_colormap_color (GdkColormap *colormap, guchar r, g, b; if (colormap == NULL) - return DIBINDEX (pixel); + return DIBINDEX (pixel & 1); colormap_private = GDK_WIN32_COLORMAP_DATA (colormap);