mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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:
parent
f95dceaaf7
commit
065b633961
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user