Ignore:
Timestamp:
May 16, 2011, 2:37:39 AM (12 years ago)
Author:
Sam Hocevar
Message:

imlib: remove the unused redraw event code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/jwindow.cpp

    r671 r673  
    201201       ev.window_position.y=ev.mouse_move.y+drag_mousey;
    202202    }
    203   }
    204   if (ev.type == EV_REDRAW)
    205   {
    206     for (Jwindow *j = m_first; j; j = j->next)
    207        j->m_surf->AddDirty(vec2i(ev.redraw.x1, ev.redraw.y1) - j->m_pos,
    208                            vec2i(ev.redraw.x2 + 1, ev.redraw.y2 + 1) - j->m_pos.x);
    209     m_surf->AddDirty(vec2i(ev.redraw.x1, ev.redraw.y1),
    210                      vec2i(ev.redraw.x2 + 1, ev.redraw.y2 + 1));
    211     flush_screen();
    212     ev.type=EV_SPURIOUS;   // we took care of this one by ourselves.
    213203  }
    214204}
Note: See TracChangeset for help on using the changeset viewer.