save some rendering
This commit is contained in:
parent
9aa5ca29ae
commit
6194c9796c
1 changed files with 5 additions and 3 deletions
|
@ -528,10 +528,12 @@ void frame_adjust_state(ObFrame *self)
|
|||
|
||||
void frame_adjust_focus(ObFrame *self, gboolean hilite)
|
||||
{
|
||||
if (self->focused != hilite) {
|
||||
self->focused = hilite;
|
||||
framerender_frame(self);
|
||||
XFlush(ob_display);
|
||||
}
|
||||
}
|
||||
|
||||
void frame_adjust_title(ObFrame *self)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue