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

gEDA-cvs: pcb.git: branch: master updated (eb3c0196c031b1be6b8f7393cf3e669328549758)



The branch, master has been updated
       via  eb3c0196c031b1be6b8f7393cf3e669328549758 (commit)
      from  d67f4335b5d4f97330448b833ea1bf04377c3a57 (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
=========

 src/crosshair.c                 |    2 +-
 src/hid/gtk/gui-output-events.c |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)


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

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

    hid/gtk: Don't call CrosshairOn() when re-entering the viewport
    
    The GTK HID doesn't turn the crosshair off, so we don't turn it back on
    if we default to having it switched on in the first place. Make that
    default change, and remove the CrosshairOn() call.
    
    (Also tested not to break the Lesstif HID).

:100644 100644 7df5299... eb19257... M	src/crosshair.c
:100644 100644 331f214... 268988d... M	src/hid/gtk/gui-output-events.c

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

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

    hid/gtk: Don't call CrosshairOn() when re-entering the viewport
    
    The GTK HID doesn't turn the crosshair off, so we don't turn it back on
    if we default to having it switched on in the first place. Make that
    default change, and remove the CrosshairOn() call.
    
    (Also tested not to break the Lesstif HID).

diff --git a/src/crosshair.c b/src/crosshair.c
index 7df5299..eb19257 100644
--- a/src/crosshair.c
+++ b/src/crosshair.c
@@ -1124,7 +1124,7 @@ InitCrosshair (void)
   /* fake a crosshair off entry on stack */
   CrosshairStackLocation = 0;
   CrosshairStack[CrosshairStackLocation++] = true;
-  Crosshair.On = false;
+  Crosshair.On = true;
 
   /* set initial shape */
   Crosshair.shape = Basic_Crosshair_Shape;
diff --git a/src/hid/gtk/gui-output-events.c b/src/hid/gtk/gui-output-events.c
index 331f214..268988d 100644
--- a/src/hid/gtk/gui-output-events.c
+++ b/src/hid/gtk/gui-output-events.c
@@ -728,7 +728,6 @@ ghid_port_window_enter_cb (GtkWidget * widget,
     {
       ghid_screen_update ();
     }
-  CrosshairOn ();
   return FALSE;
 }
 




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