Commit 065b6339 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Actually copy the whole gc, not just the public parts.

2001-02-20  Alexander Larsson  <alexl@redhat.com>

	* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
	Actually copy the whole gc, not just the public parts.

	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
	GDK_WINDOW_TEMP are not toplevel. Fixes selectable
	labels.
parent f95dceaa
2001-02-20 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
Actually copy the whole gc, not just the public parts.
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
GDK_WINDOW_TEMP are not toplevel. Fixes selectable
labels.
2001-02-19 Havoc Pennington <hp@pobox.com>
* gdk/gdkwindow.c: docs
......
2001-02-20 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
Actually copy the whole gc, not just the public parts.
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
GDK_WINDOW_TEMP are not toplevel. Fixes selectable
labels.
2001-02-19 Havoc Pennington <hp@pobox.com>
* gdk/gdkwindow.c: docs
......
2001-02-20 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
Actually copy the whole gc, not just the public parts.
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
GDK_WINDOW_TEMP are not toplevel. Fixes selectable
labels.
2001-02-19 Havoc Pennington <hp@pobox.com>
* gdk/gdkwindow.c: docs
......
2001-02-20 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
Actually copy the whole gc, not just the public parts.
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
GDK_WINDOW_TEMP are not toplevel. Fixes selectable
labels.
2001-02-19 Havoc Pennington <hp@pobox.com>
* gdk/gdkwindow.c: docs
......
2001-02-20 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
Actually copy the whole gc, not just the public parts.
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
GDK_WINDOW_TEMP are not toplevel. Fixes selectable
labels.
2001-02-19 Havoc Pennington <hp@pobox.com>
* gdk/gdkwindow.c: docs
......
2001-02-20 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
Actually copy the whole gc, not just the public parts.
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
GDK_WINDOW_TEMP are not toplevel. Fixes selectable
labels.
2001-02-19 Havoc Pennington <hp@pobox.com>
* gdk/gdkwindow.c: docs
......
2001-02-20 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
Actually copy the whole gc, not just the public parts.
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
GDK_WINDOW_TEMP are not toplevel. Fixes selectable
labels.
2001-02-19 Havoc Pennington <hp@pobox.com>
* gdk/gdkwindow.c: docs
......
......@@ -397,7 +397,7 @@ gdk_gc_copy (GdkGC *dst_gc, GdkGC *src_gc)
if (dst_private->values_mask & GDK_GC_CLIP_MASK)
gdk_pixmap_unref(dst_private->values.clip_mask);
*dst_gc = *src_gc;
*dst_private = *GDK_GC_FBDATA (src_gc);
if (dst_private->values_mask & GDK_GC_FONT)
gdk_font_ref(dst_private->values.font);
if (dst_private->values_mask & GDK_GC_TILE)
......
......@@ -177,7 +177,9 @@ gdk_window_new (GdkWindow *parent,
g_return_val_if_fail (attributes != NULL, NULL);
if (!parent || attributes->window_type != GDK_WINDOW_CHILD)
if (!parent ||
(attributes->window_type != GDK_WINDOW_CHILD &&
attributes->window_type != GDK_WINDOW_TEMP))
parent = gdk_parent_root;
parent_private = (GdkWindowObject*) parent;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment