Show
Ignore:
Timestamp:
06/29/09 20:02:01 (5 months ago)
Author:
Alejandro R. Sedeno <asedeno@darkmatter.mit.edu>
Parents:
0982901b3611e8a795d8e1630bcbfe1925feefe5
Children:
13fe062866383a38d2854a5031712ab7b63a5b77
git-committer:
Alejandro R. Sedeno <asedeno@darkmatter.mit.edu> / 2009-06-29T20:02:01Z-0400
Message:
Recalculate topmsg when swaping the cursor and mark in the messagelist.

Fix a bug in which when the marked message is off screen and the
cursor and mark are swapped, the cursor ends up off screen.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • functions.c

    r94af438 rb72670b  
    36013601  _owl_function_mark_message(m); 
    36023602  owl_global_set_curmsg(&g, owl_view_get_nearest_to_msgid(v, marked_id)); 
     3603  owl_function_calculate_topmsg(OWL_DIRECTION_NONE); 
    36033604  owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 
    36043605  owl_global_set_direction_downwards(&g);