From 5d840bab5bff46bdedb74238eb2a901051a6925d Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 16 Nov 2012 06:55:40 +0000 Subject: [PATCH] E entry: force disable thumbscroll. We need that disabled, as currently mouse grabbing breaks if that's not set. That's what you get when you have scrolling and selection in the same place. We can just use selection for scrolling or fix the issue. The fix would probably require using the ON_SCROLL flag instead of the ON_HOLD and actually handle it correctly. SVN revision: 79359 --- src/bin/e_entry.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bin/e_entry.c b/src/bin/e_entry.c index bf62f626d..18caed00f 100644 --- a/src/bin/e_entry.c +++ b/src/bin/e_entry.c @@ -645,6 +645,12 @@ _e_entry_smart_add(Evas_Object *object) sd->scroll_object = e_scrollframe_add(evas); e_scrollframe_key_navigation_set(sd->scroll_object, EINA_FALSE); + /* We need that, as currently mouse grabbing breaks if that's not set. That's + * what you get when you have scrolling and selection in the same place. + * We can just use selection for scrolling or fix the issue. The fix would + * probably require using the ON_SCROLL flag instead of the ON_HOLD and + * actually handle it correctly. */ + e_scrollframe_thumbscroll_force(sd->scroll_object, EINA_FALSE); evas_object_propagate_events_set(sd->scroll_object, EINA_TRUE); e_scrollframe_custom_theme_set(sd->scroll_object, "base/theme/widgets", "e/widgets/entry/scrollframe"); edje_object_size_min_calc(e_scrollframe_edje_object_get(sd->scroll_object),