ignore window focus in events on iconic borders; these are guaranteed to be wrong
This commit is contained in:
parent
de99185efa
commit
646943d897
|
@ -5850,6 +5850,10 @@ _e_border_cb_window_focus_in(void *data __UNUSED__,
|
||||||
e = ev;
|
e = ev;
|
||||||
bd = e_border_find_by_client_window(e->win);
|
bd = e_border_find_by_client_window(e->win);
|
||||||
if (!bd) return ECORE_CALLBACK_PASS_ON;
|
if (!bd) return ECORE_CALLBACK_PASS_ON;
|
||||||
|
|
||||||
|
/* block refocus attempts on iconic windows
|
||||||
|
* these result from iconifying a window during a grab */
|
||||||
|
if (bd->iconic) return ECORE_CALLBACK_RENEW;
|
||||||
#ifdef INOUTDEBUG_FOCUS
|
#ifdef INOUTDEBUG_FOCUS
|
||||||
{
|
{
|
||||||
time_t t;
|
time_t t;
|
||||||
|
|
Loading…
Reference in New Issue