Some deferred arrangements were useless, don't do them.
[GB.GTK] * BUG: Some deferred arrangements were useless, don't do them. [GB.GTK3] * BUG: Some deferred arrangements were useless, don't do them.
This commit is contained in:
parent
1a27f285ca
commit
8fb4c37fcd
1 changed files with 3 additions and 3 deletions
|
@ -66,7 +66,8 @@ static gboolean cb_expose(GtkWidget *wid, GdkEventExpose *e, gContainer *data)
|
|||
static void cb_map(GtkWidget *widget, gContainer *sender)
|
||||
{
|
||||
sender->setShown(true);
|
||||
sender->arrangeLater();
|
||||
if (!sender->isTempHidden())
|
||||
sender->arrangeLater();
|
||||
}
|
||||
|
||||
static void cb_unmap(GtkWidget *widget, gContainer *sender)
|
||||
|
@ -963,8 +964,7 @@ void gContainer::postArrange()
|
|||
break;
|
||||
cont = (gContainer *)iter->data;
|
||||
cont->resetArrangeLater();
|
||||
if (!cont->isTempHidden())
|
||||
cont->performArrange();
|
||||
cont->performArrange();
|
||||
}
|
||||
|
||||
_arrange_list = NULL;
|
||||
|
|
Loading…
Reference in a new issue