+Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
+
+ * GDK support for 1 bpp depth screens.
+
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
* Changes from Bolliet Jerome <bolliet@in2p3.fr> to gtktree.
+Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
+
+ * GDK support for 1 bpp depth screens.
+
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
* Changes from Bolliet Jerome <bolliet@in2p3.fr> to gtktree.
+Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
+
+ * GDK support for 1 bpp depth screens.
+
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
* Changes from Bolliet Jerome <bolliet@in2p3.fr> to gtktree.
+Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
+
+ * GDK support for 1 bpp depth screens.
+
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
* Changes from Bolliet Jerome <bolliet@in2p3.fr> to gtktree.
+Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
+
+ * GDK support for 1 bpp depth screens.
+
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
* Changes from Bolliet Jerome <bolliet@in2p3.fr> to gtktree.
+Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
+
+ * GDK support for 1 bpp depth screens.
+
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
* Changes from Bolliet Jerome <bolliet@in2p3.fr> to gtktree.
+Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
+
+ * GDK support for 1 bpp depth screens.
+
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>
* Changes from Bolliet Jerome <bolliet@in2p3.fr> to gtktree.
xpalette[i].blue = 0;
}
- XQueryColors (gdk_display, private->xcolormap, xpalette, 256);
+ XQueryColors (gdk_display, private->xcolormap, xpalette,
+ private->visual->colormap_size);
for (i = 0; i < 256; i++)
{
void
gdk_visual_init ()
{
- static gint possible_depths[5] = { 32, 24, 16, 15, 8 };
+ static gint possible_depths[6] = { 32, 24, 16, 15, 8, 1 };
static GdkVisualType possible_types[6] =
{
GDK_VISUAL_DIRECT_COLOR,
GDK_VISUAL_STATIC_GRAY
};
- static gint npossible_depths = 5;
+ static gint npossible_depths = 6;
static gint npossible_types = 6;
XVisualInfo *visual_list;
nvisuals = 0;
for (i = 0; i < nxvisuals; i++)
{
- if (visual_list[i].depth >= 8)
+ if (visual_list[i].depth >= 1)
{
#ifdef __cplusplus
switch (visual_list[i].c_class)
xpalette[i].blue = 0;
}
- XQueryColors (gdk_display, private->xcolormap, xpalette, 256);
+ XQueryColors (gdk_display, private->xcolormap, xpalette,
+ private->visual->colormap_size);
for (i = 0; i < 256; i++)
{
void
gdk_visual_init ()
{
- static gint possible_depths[5] = { 32, 24, 16, 15, 8 };
+ static gint possible_depths[6] = { 32, 24, 16, 15, 8, 1 };
static GdkVisualType possible_types[6] =
{
GDK_VISUAL_DIRECT_COLOR,
GDK_VISUAL_STATIC_GRAY
};
- static gint npossible_depths = 5;
+ static gint npossible_depths = 6;
static gint npossible_types = 6;
XVisualInfo *visual_list;
nvisuals = 0;
for (i = 0; i < nxvisuals; i++)
{
- if (visual_list[i].depth >= 8)
+ if (visual_list[i].depth >= 1)
{
#ifdef __cplusplus
switch (visual_list[i].c_class)