Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c
Log Message:
fix "last focused on desk" stuff
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.466
retrieving revision 1.467
diff -u -3 -r1.466 -r1.467
--- e_border.c 4 Dec 2005 12:03:58 -0000 1.466
+++ e_border.c 11 Dec 2005 05:56:26 -0000 1.467
@@ -574,8 +574,11 @@
if (bd->focused)
{
e_border_focus_set(bd, 0, 1);
- if (e_config->focus_revert_on_hide_or_close)
- e_desk_last_focused_focus(bd->desk);
+ if (manage != 2)
+ {
+ if (e_config->focus_revert_on_hide_or_close)
+ e_desk_last_focused_focus(bd->desk);
+ }
}
if (manage == 1)
{
@@ -1126,8 +1129,11 @@
bd->changed = 1;
return;
}
- if (!e_winlist_active_get())
- e_border_focus_latest_set(bd);
+ if (bd->visible)
+ {
+ if (!e_winlist_active_get())
+ e_border_focus_latest_set(bd);
+ }
// printf("EMIT 0x%x activeve\n", bd->client.win);
edje_object_signal_emit(bd->bg_object, "active", "");
if (bd->icon_object)
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs