block mouse in/out events for iconified borders to fix case where iconifying a window using the border menu would prevent it from becoming iconified

SVN revision: 77520
This commit is contained in:
Mike Blumenkrantz 2012-10-05 09:17:47 +00:00
parent 6933d4b8ac
commit c008654175
1 changed files with 4 additions and 2 deletions

View File

@ -6264,6 +6264,7 @@ _e_border_cb_mouse_in(void *data,
if (grabbed) return ECORE_CALLBACK_PASS_ON;
if (ev->event_win == bd->win)
{
if (!bd->iconic)
e_focus_event_mouse_in(bd);
}
#if 0
@ -6339,6 +6340,7 @@ _e_border_cb_mouse_out(void *data,
if ((ev->mode == ECORE_X_EVENT_MODE_NORMAL) &&
(ev->detail == ECORE_X_EVENT_DETAIL_INFERIOR))
return ECORE_CALLBACK_PASS_ON;
if (!bd->iconic)
e_focus_event_mouse_out(bd);
}
#if 0