billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=0380b657c48a2aa50a6d4e9450cf1ec91fdefe9f

commit 0380b657c48a2aa50a6d4e9450cf1ec91fdefe9f
Author: Boris Faure <[email protected]>
Date:   Thu Nov 21 23:01:59 2013 +0100

    be able to do selections in a row
    
    I do need to write some tests on all that selection mess…
---
 src/bin/termio.c | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index b346c21..a05f997 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -3128,18 +3128,10 @@ _smart_cb_mouse_down(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_UNUS
                }
              else
                {
-                  if (sd->pty->selection.is_active)
+                  sd->pty->selection.is_active = EINA_FALSE;
+                  sd->moved = EINA_FALSE;
+                  if (!shift)
                     {
-                       if (!shift)
-                         {
-                            _sel_set(data, EINA_FALSE);
-                            sd->didclick = EINA_TRUE;
-                            sd->pty->selection.makesel = EINA_FALSE;
-                         }
-                    }
-                  else
-                    {
-                       sd->moved = EINA_FALSE;
                        sd->pty->selection.is_box =
                           (ctrl ||
                            evas_key_modifier_is_set(ev->modifiers, "Alt"));

-- 


Reply via email to