diff --git a/ChangeLog b/ChangeLog index 1c69a4031..4741c3d42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-12-30 Havoc Pennington + + * 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 * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io): diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 1c69a4031..4741c3d42 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +2000-12-30 Havoc Pennington + + * 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 * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 1c69a4031..4741c3d42 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2000-12-30 Havoc Pennington + + * 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 * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io): diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 1c69a4031..4741c3d42 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +2000-12-30 Havoc Pennington + + * 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 * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 1c69a4031..4741c3d42 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2000-12-30 Havoc Pennington + + * 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 * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 1c69a4031..4741c3d42 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2000-12-30 Havoc Pennington + + * 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 * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 1c69a4031..4741c3d42 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2000-12-30 Havoc Pennington + + * 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 * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io): diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index f5e511bce..17de521ef 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -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),