Changeset b72670b


Ignore:
Timestamp:
Jun 29, 2009, 8:02:01 PM (15 years ago)
Author:
Alejandro R. Sedeno <asedeno@darkmatter.mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
13fe062
Parents:
0982901
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.
File:
1 edited

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);
Note: See TracChangeset for help on using the changeset viewer.