summaryrefslogtreecommitdiff
path: root/src/bin/e_border.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_border.c')
-rw-r--r--src/bin/e_border.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index f8c0f877f..11db187ea 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -4914,11 +4914,11 @@ _e_border_del(E_Border *bd)
4914 e_exec_phony_del(bd->exe_inst); 4914 e_exec_phony_del(bd->exe_inst);
4915 else 4915 else
4916 { 4916 {
4917 bd->exe_inst->borders = eina_list_remove(bd->exe_inst->borders, bd); 4917 if (!bd->exe_inst->deleted)
4918 if (bd->exe_inst->deleted) 4918 bd->exe_inst->borders = eina_list_remove(bd->exe_inst->borders, bd);
4919 e_object_unref(E_OBJECT(bd));
4920 } 4919 }
4921 bd->exe_inst = NULL; 4920 if (!bd->exe_inst->deleted)
4921 bd->exe_inst = NULL;
4922 } 4922 }
4923 4923
4924 if (bd->fullscreen) bd->desk->fullscreen_borders--; 4924 if (bd->fullscreen) bd->desk->fullscreen_borders--;