Index: src_plugins/hid_gtk/gtkhid-main.c =================================================================== --- src_plugins/hid_gtk/gtkhid-main.c (revision 5866) +++ src_plugins/hid_gtk/gtkhid-main.c (revision 5867) @@ -10,6 +10,7 @@ #include "action_helper.h" #include "crosshair.h" #include "error.h" +#include "draw.h" #include "gui.h" #include "hid_nogui.h" #include "hid_draw_helpers.h" @@ -144,6 +145,8 @@ { int widget_x, widget_y; + pcb_draw_inhibit_inc(); + /* Work out where on the screen the flip point is */ ghid_pcb_to_event_coords(center_x, center_y, &widget_x, &widget_y); @@ -153,6 +156,8 @@ /* Pan the board so the center location remains in the same place */ ghid_pan_view_abs(center_x, center_y, widget_x, widget_y); + pcb_draw_inhibit_dec(); + ghid_invalidate_all(); }