Don't update resize and move objects if they don't exists.
SVN revision: 14285
This commit is contained in:
parent
a845a99b65
commit
b3bcdf8bbb
|
@ -3863,6 +3863,8 @@ _e_border_resize_update(E_Border *bd)
|
||||||
{
|
{
|
||||||
char buf[40];
|
char buf[40];
|
||||||
|
|
||||||
|
if (!resize_ee) return;
|
||||||
|
|
||||||
if ((bd->client.icccm.base_w >= 0) &&
|
if ((bd->client.icccm.base_w >= 0) &&
|
||||||
(bd->client.icccm.base_h >= 0))
|
(bd->client.icccm.base_h >= 0))
|
||||||
snprintf(buf, sizeof(buf), "%ix%i",
|
snprintf(buf, sizeof(buf), "%ix%i",
|
||||||
|
@ -3928,6 +3930,8 @@ _e_border_move_update(E_Border *bd)
|
||||||
{
|
{
|
||||||
char buf[40];
|
char buf[40];
|
||||||
|
|
||||||
|
if (!move_ee) return;
|
||||||
|
|
||||||
evas_object_show(move_obj);
|
evas_object_show(move_obj);
|
||||||
ecore_evas_show(move_ee);
|
ecore_evas_show(move_ee);
|
||||||
snprintf(buf, sizeof(buf) - 1, "%i %i", bd->x, bd->y);
|
snprintf(buf, sizeof(buf) - 1, "%i %i", bd->x, bd->y);
|
||||||
|
|
Loading…
Reference in New Issue