From: Enlightenment C. <no...@cv...> - 2008-04-26 06:41:51
|
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: dont focus iconified windows! that's just silly! =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.630 retrieving revision 1.631 diff -u -3 -r1.630 -r1.631 --- e_border.c 9 Mar 2008 16:43:58 -0000 1.630 +++ e_border.c 26 Apr 2008 06:41:48 -0000 1.631 @@ -1403,6 +1403,8 @@ // 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); 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)) { |