]> Pileus Git - ~andy/gtk/commitdiff
Set the system colormap on input only windows, to avoid special cases all
authorHavoc Pennington <hp@pobox.com>
Sat, 30 Dec 2000 15:44:41 +0000 (15:44 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Sat, 30 Dec 2000 15:44:41 +0000 (15:44 +0000)
2000-12-30  Havoc Pennington  <hp@pobox.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_new): Set the system
colormap on input only windows, to avoid special cases all over
the code for these windows.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/x11/gdkwindow-x11.c

index 1c69a4031537fa4bb1f13c69d333d7e92999f5d7..4741c3d4262c3d5bf17bb0da4657c87b9c114a07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-12-30  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set the system
+       colormap on input only windows, to avoid special cases all over
+       the code for these windows.
+
 2000-12-22  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
index 1c69a4031537fa4bb1f13c69d333d7e92999f5d7..4741c3d4262c3d5bf17bb0da4657c87b9c114a07 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-30  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set the system
+       colormap on input only windows, to avoid special cases all over
+       the code for these windows.
+
 2000-12-22  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
index 1c69a4031537fa4bb1f13c69d333d7e92999f5d7..4741c3d4262c3d5bf17bb0da4657c87b9c114a07 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-30  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set the system
+       colormap on input only windows, to avoid special cases all over
+       the code for these windows.
+
 2000-12-22  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
index 1c69a4031537fa4bb1f13c69d333d7e92999f5d7..4741c3d4262c3d5bf17bb0da4657c87b9c114a07 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-30  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set the system
+       colormap on input only windows, to avoid special cases all over
+       the code for these windows.
+
 2000-12-22  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
index 1c69a4031537fa4bb1f13c69d333d7e92999f5d7..4741c3d4262c3d5bf17bb0da4657c87b9c114a07 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-30  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set the system
+       colormap on input only windows, to avoid special cases all over
+       the code for these windows.
+
 2000-12-22  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
index 1c69a4031537fa4bb1f13c69d333d7e92999f5d7..4741c3d4262c3d5bf17bb0da4657c87b9c114a07 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-30  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set the system
+       colormap on input only windows, to avoid special cases all over
+       the code for these windows.
+
 2000-12-22  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
index 1c69a4031537fa4bb1f13c69d333d7e92999f5d7..4741c3d4262c3d5bf17bb0da4657c87b9c114a07 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-30  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set the system
+       colormap on input only windows, to avoid special cases all over
+       the code for these windows.
+
 2000-12-22  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
index f5e511bceaa784c9988e1e95aa493bbdb8795ec0..17de521ef77ac17edf8a01a3ff9e35c1ba4fcc5a 100644 (file)
@@ -482,7 +482,8 @@ gdk_window_new (GdkWindow     *parent,
       private->depth = 0;
       class = InputOnly;
       private->input_only = TRUE;
-      draw_impl->colormap = NULL;
+      draw_impl->colormap = gdk_colormap_get_system ();
+      gdk_colormap_ref (draw_impl->colormap);
     }
 
   draw_impl->xid = XCreateWindow (GDK_WINDOW_XDISPLAY (parent),