Enlightenment CVS committal

Author  : jethomas
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_embed.c 


Log Message:
The widget to unfocus isn't always the one last clicked.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -3 -r1.137 -r1.138
--- ewl_embed.c 7 Jan 2008 01:34:34 -0000       1.137
+++ ewl_embed.c 9 Jan 2008 02:00:13 -0000       1.138
@@ -548,11 +548,11 @@
        if (!widget) widget = EWL_WIDGET(embed);
 
        /*
-        * Save the last selected widget for further reference, do this prior
+        * Save the last focused widget for further reference, do this prior
         * to triggering the callback to avoid funkiness if the callback
         * causes the widget to be destroyed.
         */
-       deselect = embed->last.clicked;
+       deselect = embed->last.focused;
 
        /* we want the focused and last clicked to be the parent widget, not
         * the internal children */



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to