forked from enlightenment/enlightenment
dont focus iconified windows! that's just silly!
SVN revision: 34372
This commit is contained in:
parent
17ca96e1e8
commit
7f2c0926ca
|
@ -1403,6 +1403,8 @@ e_border_focus_set(E_Border *bd, int focus, int set)
|
||||||
// printf("e_border_focus_set(%p, %s, %i %i);\n", bd, bd->client.icccm.name, focus, set);
|
// printf("e_border_focus_set(%p, %s, %i %i);\n", bd, bd->client.icccm.name, focus, set);
|
||||||
// printf(" accept:%i take:%i\n", bd->client.icccm.accepts_focus, bd->client.icccm.take_focus);
|
// printf(" accept:%i take:%i\n", bd->client.icccm.accepts_focus, bd->client.icccm.take_focus);
|
||||||
if (!bd->client.icccm.accepts_focus) return;
|
if (!bd->client.icccm.accepts_focus) return;
|
||||||
|
/* dont focus an iconified window. that's silly! */
|
||||||
|
if (bd->iconic) return;
|
||||||
|
|
||||||
if ((bd->modal) && (bd->modal != bd))
|
if ((bd->modal) && (bd->modal != bd))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue