Enlightenment CVS committal
Author : jethomas
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_text.c
Log Message:
Fix for bug 435 - selecting text now works again.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -3 -r1.201 -r1.202
--- ewl_text.c 7 May 2008 13:38:25 -0000 1.201
+++ ewl_text.c 6 Jul 2008 04:18:52 -0000 1.202
@@ -3471,6 +3471,13 @@
sel = EWL_TEXT_TRIGGER(t->selection);
+ /* Move the selection widget to wherever the mouse was clicked,
+ * as this way we are always marked onscreen, and receive configuration
+ * callbacks
+ */
+ ewl_object_position_request(EWL_OBJECT(t->selection), event->x,
+ event->y);
+
char_idx = ewl_text_coord_index_map(EWL_TEXT(w), event->x, event->y);
modifiers = ewl_ev_modifiers_get();
if (modifiers & EWL_KEY_MODIFIER_SHIFT)
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs