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

gEDA-cvs: gaf.git: branch: master updated (1.6.1-20100214-119-gd4820b6)



The branch, master has been updated
       via  d4820b644781b337812a78a1416b67025fa79c2a (commit)
      from  f8ddb85e74bbf05a6901365527d27d3e2914ccec (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_window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


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

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

    gschem: Exit any current event state before switching pages
    
    If we don't do this, state from an operation on one page can cause
    corruption and genereral chaos. This was reproducable by moving
    some objects (em), then switching pages with a key-binding.

:100644 100644 8d2bf24... 07beb6e... M	gschem/src/x_window.c

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

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

    gschem: Exit any current event state before switching pages
    
    If we don't do this, state from an operation on one page can cause
    corruption and genereral chaos. This was reproducable by moving
    some objects (em), then switching pages with a key-binding.

diff --git a/gschem/src/x_window.c b/gschem/src/x_window.c
index 8d2bf24..07beb6e 100644
--- a/gschem/src/x_window.c
+++ b/gschem/src/x_window.c
@@ -797,6 +797,8 @@ x_window_set_current_page (GSCHEM_TOPLEVEL *w_current, PAGE *page)
   g_return_if_fail (toplevel != NULL);
   g_return_if_fail (page != NULL);
 
+  o_redraw_cleanstates (w_current);
+
   s_page_goto (toplevel, page);
 
   i_update_menus (w_current);




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