brain/viz.cc
/* Handle motion events by continuing to draw if button 1 is
 * still held down. The ::motion-notify signal handler receives
 * a GdkEventMotion struct which contains this information.
 */
Handle motion events by continuing to draw if button 1 is
still held down. The ::motion-notify signal handler receives
a GdkEventMotion struct which contains this information.
Handle motion events by continuing to draw if button 1 is still held down . The :: motion - notify signal handler receives a GdkEventMotion struct which contains this information .
static gboolean
motion_notify_event_cb (GtkWidget      *widget,
                        GdkEventMotion *event,
                        gpointer        data)
{
    guard _gg(mx);
    if (surface == NULL)
        return FALSE;
    return TRUE;
}
static gboolean motion_notify_event_cb ( GtkWidget * widget , GdkEventMotion * event , gpointer data ) { guard _gg ( mx ) ; if ( surface == NULL ) return FALSE ; return TRUE ; }
Handle motion events by continuing to draw if button 1 is
 still held down.
Handle motion events by continuing to draw if button 1 is still held down .
/* paranoia check, in case we haven't gotten a configure event */ /*
      if (event->state & GDK_BUTTON1_MASK)
      draw_brush (widget, event->x, event->y);
    */ /* We've handled it, stop processing */