parent
8c3e23fc3b
commit
39a7a88b22
|
@ -502,6 +502,8 @@ IconboxEwinMoveResize(EWin * ewin, int resize __UNUSED__)
|
|||
|
||||
if (!resize && !ib->do_update && !TransparencyEnabled())
|
||||
return;
|
||||
if (ib->w <= 0 || ib->h <= 0)
|
||||
return;
|
||||
|
||||
IconboxDraw(ib);
|
||||
ib->do_update = 0;
|
||||
|
|
|
@ -499,7 +499,7 @@ PagerEwinMoveResize(EWin * ewin, int resize __UNUSED__)
|
|||
|
||||
w = ewin->client.w;
|
||||
h = ewin->client.h;
|
||||
if ((w == p->w) && (h == p->h))
|
||||
if ((w == p->w && h == p->h) || w <= 1 || h <= 1)
|
||||
return;
|
||||
|
||||
GetAreaSize(&ax, &ay);
|
||||
|
|
Loading…
Reference in New Issue