e-modules/engage: hanlde more events for 'overlap autohide'

SVN revision: 58368
This commit is contained in:
Hannes Janetzek 2011-04-05 20:21:14 +00:00
parent 4cd476b00d
commit 8cddebfef2
1 changed files with 9 additions and 0 deletions

View File

@ -251,6 +251,12 @@ ngi_new(Config_Item *cfg)
ng->handlers = eina_list_append
(ng->handlers, ecore_event_handler_add
(E_EVENT_BORDER_RESIZE, _ngi_win_cb_border_event, ng));
ng->handlers = eina_list_append
(ng->handlers, ecore_event_handler_add
(E_EVENT_BORDER_ADD, _ngi_win_cb_border_event, ng));
ng->handlers = eina_list_append
(ng->handlers, ecore_event_handler_add
(E_EVENT_BORDER_REMOVE, _ngi_win_cb_border_event, ng));
if (ng->cfg->autohide == AUTOHIDE_FULLSCREEN)
{
@ -1642,6 +1648,9 @@ _ngi_win_border_intersects(Ng *ng)
EINA_LIST_FOREACH(e_border_client_list(), l, bd)
{
if (bd->delete_requested)
continue;
if (bd->zone != ng->zone)
continue;