Don't update resize and move objects if they don't exists.

SVN revision: 14285
This commit is contained in:
sebastid 2005-04-21 17:33:58 +00:00 committed by sebastid
parent a845a99b65
commit b3bcdf8bbb
1 changed files with 4 additions and 0 deletions

View File

@ -3863,6 +3863,8 @@ _e_border_resize_update(E_Border *bd)
{
char buf[40];
if (!resize_ee) return;
if ((bd->client.icccm.base_w >= 0) &&
(bd->client.icccm.base_h >= 0))
snprintf(buf, sizeof(buf), "%ix%i",
@ -3928,6 +3930,8 @@ _e_border_move_update(E_Border *bd)
{
char buf[40];
if (!move_ee) return;
evas_object_show(move_obj);
ecore_evas_show(move_ee);
snprintf(buf, sizeof(buf) - 1, "%i %i", bd->x, bd->y);