save some rendering

This commit is contained in:
Dana Jansens 2007-05-15 03:46:51 +00:00
parent 9aa5ca29ae
commit 6194c9796c

View file

@ -528,9 +528,11 @@ void frame_adjust_state(ObFrame *self)
void frame_adjust_focus(ObFrame *self, gboolean hilite)
{
self->focused = hilite;
framerender_frame(self);
XFlush(ob_display);
if (self->focused != hilite) {
self->focused = hilite;
framerender_frame(self);
XFlush(ob_display);
}
}
void frame_adjust_title(ObFrame *self)