[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: master updated (1.6.0-20091004-15-gef86dc3)



The branch, master has been updated
       via  ef86dc34509308a29c2acca9eca73d7953b49346 (commit)
      from  90ab35e96c4c2a9c37c5913ab4b574a131133b31 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/x_event.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)


=================
 Commit Messages
=================

commit ef86dc34509308a29c2acca9eca73d7953b49346
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    Don't immediately redraw rubberband objects after placing
    
    This allows the user to see the placed (and selected) object
    without it being overwriten by any object still attached to the
    mouse cursor. (This made it appear that the object had not been
    placed).
    
    The rubberband objects attached to the cursor are re-drawn as soon
    as the mouse moves.

:100644 100644 d13255b... 1b1f4b2... M	gschem/src/x_event.c

=========
 Changes
=========

commit ef86dc34509308a29c2acca9eca73d7953b49346
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    Don't immediately redraw rubberband objects after placing
    
    This allows the user to see the placed (and selected) object
    without it being overwriten by any object still attached to the
    mouse cursor. (This made it appear that the object had not been
    placed).
    
    The rubberband objects attached to the cursor are re-drawn as soon
    as the mouse moves.

diff --git a/gschem/src/x_event.c b/gschem/src/x_event.c
index d13255b..1b1f4b2 100644
--- a/gschem/src/x_event.c
+++ b/gschem/src/x_event.c
@@ -296,9 +296,6 @@ gint x_event_button_pressed(GtkWidget *widget, GdkEventButton *event,
           w_current->inside_action = 0;
           i_set_state(w_current, SELECT);
           i_update_toolbar(w_current);
-        } else {
-          o_place_invalidate_rubber (w_current, TRUE);
-          w_current->rubber_visible = 1;
         }
         break;
 
@@ -588,8 +585,6 @@ gint x_event_button_released(GtkWidget *widget, GdkEventButton *event,
         /* having this stay in copy was driving me nuts*/
         w_current->inside_action = 1;
         /* Keep the state and the inside_action, as the copy has not finished. */
-        o_place_invalidate_rubber (w_current, TRUE);
-        w_current->rubber_visible = 1;
         i_set_state(w_current, ENDMCOPY);
         i_update_toolbar(w_current);
         o_undo_savestate(w_current, UNDO_ALL);




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs