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.
This commit is contained in:
Alexander Larsson 2001-02-20 10:56:41 +00:00 committed by Alexander Larsson
parent f95dceaaf7
commit 065b633961
9 changed files with 67 additions and 2 deletions

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -1,3 +1,12 @@
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

View File

@ -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)

View File

@ -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;