forked from enlightenment/enlightenment
Remember which window is resizing, and if that window is removed, stop
resizing. SVN revision: 13317
This commit is contained in:
parent
6be8d93eea
commit
9c7c92333f
|
@ -92,7 +92,8 @@ static Evas_List *handlers = NULL;
|
||||||
static Evas_List *borders = NULL;
|
static Evas_List *borders = NULL;
|
||||||
static E_Border *focused = NULL;
|
static E_Border *focused = NULL;
|
||||||
|
|
||||||
static Ecore_Evas *resize_ee = NULL;
|
static E_Border *resize = NULL;
|
||||||
|
static Ecore_Evas *resize_ee = NULL;
|
||||||
static Evas_Object *resize_obj = NULL;
|
static Evas_Object *resize_obj = NULL;
|
||||||
|
|
||||||
extern int _e_desk_current_changing;
|
extern int _e_desk_current_changing;
|
||||||
|
@ -961,6 +962,9 @@ _e_border_free(E_Border *bd)
|
||||||
Evas_List *list;
|
Evas_List *list;
|
||||||
E_Config_Binding *eb;
|
E_Config_Binding *eb;
|
||||||
|
|
||||||
|
if (resize == bd)
|
||||||
|
_e_border_resize_end(bd);
|
||||||
|
|
||||||
while (bd->pending_move_resize)
|
while (bd->pending_move_resize)
|
||||||
{
|
{
|
||||||
free(bd->pending_move_resize->data);
|
free(bd->pending_move_resize->data);
|
||||||
|
@ -3231,6 +3235,7 @@ _e_border_resize_begin(E_Border *bd)
|
||||||
ecore_evas_resize(resize_ee, w, h);
|
ecore_evas_resize(resize_ee, w, h);
|
||||||
|
|
||||||
ecore_evas_show(resize_ee);
|
ecore_evas_show(resize_ee);
|
||||||
|
resize = bd;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -3238,6 +3243,7 @@ _e_border_resize_end(E_Border *bd)
|
||||||
{
|
{
|
||||||
evas_object_del(resize_obj);
|
evas_object_del(resize_obj);
|
||||||
ecore_evas_free(resize_ee);
|
ecore_evas_free(resize_ee);
|
||||||
|
resize = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue