Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c
Log Message:
fix java app focus.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.642
retrieving revision 1.643
diff -u -3 -r1.642 -r1.643
--- e_border.c 25 Jul 2008 02:09:27 -0000 1.642
+++ e_border.c 3 Aug 2008 21:54:49 -0000 1.643
@@ -1369,7 +1369,8 @@
* focus as we do - so simply abort any focuse set on such windows */
/* be strict about accepting focus hint */
// printf(" 2accept:%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) &&
+ (!bd->client.icccm.take_focus)) return;
/* Try to grab the pointer to make sure it's not "in use" */
if (!ecore_x_pointer_grab(bd->zone->container->win))
@@ -1405,7 +1406,8 @@
/* be strict about accepting focus hint */
// 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;
+ if ((!bd->client.icccm.accepts_focus) &&
+ (!bd->client.icccm.take_focus)) return;
/* dont focus an iconified window. that's silly! */
if ((focus) && (bd->iconic)) return;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs