mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
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.
This commit is contained in:
parent
2af36b1e56
commit
bacc9c0afc
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user