use the unfocused label when not focused

This commit is contained in:
Dana Jansens 2003-03-17 05:10:48 +00:00
parent e659f95516
commit 4b9556c031

View file

@ -764,7 +764,7 @@ static void render_label(ObFrame *self)
if (self->label_x < 0) return; if (self->label_x < 0) return;
a = (self->frame.client->focused ? a = (self->frame.client->focused ?
self->a_focused_label : self->a_focused_label); self->a_focused_label : self->a_unfocused_label);
/* set the texture's text! */ /* set the texture's text! */
a->texture[0].data.text.string = self->frame.client->title; a->texture[0].data.text.string = self->frame.client->title;