diff options
author | Havoc Pennington <hp@pobox.com> | 2001-10-25 03:08:48 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-10-25 03:08:48 +0000 |
commit | bacc9c0afce144d1a592b4be96d97843f4bc2ab8 (patch) | |
tree | 16367ee75a1050da3618ca5179f1f3a50c159f12 /src/frames.c | |
parent | 2af36b1e56ab1196048fb3b427da2807ee4c68b8 (diff) | |
download | metacity-bacc9c0afce144d1a592b4be96d97843f4bc2ab8.tar.gz |
use bg/fg not base/text for the window title area.
2001-10-24 Havoc Pennington <hp@pobox.com>
* src/frames.c (meta_frames_expose_event): use bg/fg not base/text
for the window title area.
Diffstat (limited to 'src/frames.c')
-rw-r--r-- | src/frames.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frames.c b/src/frames.c index 59ef40ce..15b3e42c 100644 --- a/src/frames.c +++ b/src/frames.c @@ -1749,14 +1749,14 @@ meta_frames_expose_event (GtkWidget *widget, clip.width -= frames->props->text_border.left + frames->props->text_border.right; - layout_gc = widget->style->text_gc[GTK_STATE_NORMAL]; + layout_gc = widget->style->fg_gc[GTK_STATE_NORMAL]; if (flags & META_FRAME_HAS_FOCUS) { - layout_gc = widget->style->text_gc[GTK_STATE_SELECTED]; + layout_gc = widget->style->fg_gc[GTK_STATE_SELECTED]; /* Draw blue background */ gdk_draw_rectangle (frame->window, - widget->style->base_gc[GTK_STATE_SELECTED], + widget->style->bg_gc[GTK_STATE_SELECTED], TRUE, fgeom.title_rect.x, fgeom.title_rect.y, |