do not return non-visible clients for e_client_under_pointer_get()
a hidden client should not be considered "under the mouse" since its geometry is undefined until it becomes visible again fix T1069
This commit is contained in:
parent
4606d34c54
commit
8b544ca830
|
@ -1150,6 +1150,7 @@ _e_client_under_pointer_helper(E_Desk *desk, E_Client *exclude, int x, int y)
|
||||||
/* If a border was specified which should be excluded from the list
|
/* If a border was specified which should be excluded from the list
|
||||||
* (because it will be closed shortly for example), skip */
|
* (because it will be closed shortly for example), skip */
|
||||||
if (e_client_util_ignored_get(cec) || (!e_client_util_desk_visible(cec, desk))) continue;
|
if (e_client_util_ignored_get(cec) || (!e_client_util_desk_visible(cec, desk))) continue;
|
||||||
|
if (!evas_object_visible_get(cec->frame)) continue;
|
||||||
if ((exclude) && (cec == exclude)) continue;
|
if ((exclude) && (cec == exclude)) continue;
|
||||||
if (!E_INSIDE(x, y, cec->x, cec->y, cec->w, cec->h))
|
if (!E_INSIDE(x, y, cec->x, cec->y, cec->w, cec->h))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue