summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-10-25 03:08:48 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-10-25 03:08:48 +0000
commitbacc9c0afce144d1a592b4be96d97843f4bc2ab8 (patch)
tree16367ee75a1050da3618ca5179f1f3a50c159f12
parent2af36b1e56ab1196048fb3b427da2807ee4c68b8 (diff)
downloadmetacity-bacc9c0afce144d1a592b4be96d97843f4bc2ab8.tar.gz
metacity-bacc9c0afce144d1a592b4be96d97843f4bc2ab8.tar.bz2
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.
-rw-r--r--ChangeLog5
-rw-r--r--src/frames.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 83d58be..cc580d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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.
+
+2001-10-24 Havoc Pennington <hp@pobox.com>
+
* src/window.c (meta_window_new): support initial
on-all-workspaces setting
diff --git a/src/frames.c b/src/frames.c
index 59ef40c..15b3e42 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,