don't resize the label to 0
This commit is contained in:
parent
62e36ad041
commit
ba747518bb
1 changed files with 4 additions and 2 deletions
|
@ -862,10 +862,12 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
|
|||
if (focus_cycle_target == self->client)
|
||||
focus_cycle_update_indicator(self->client);
|
||||
}
|
||||
if (resized && (self->decorations & OB_FRAME_DECOR_TITLEBAR))
|
||||
if (resized && (self->decorations & OB_FRAME_DECOR_TITLEBAR) &&
|
||||
self->label_width)
|
||||
{
|
||||
XResizeWindow(ob_display, self->label, self->label_width,
|
||||
ob_rr_theme->label_height);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
static void frame_adjust_cursors(ObFrame *self)
|
||||
|
|
Loading…
Reference in a new issue