diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-14 07:19:09 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-14 07:19:09 +0000 |
commit | 8518b4c31a12a81006f51f549cfb681a18727f0b (patch) | |
tree | 4c37fcb2d39e96b37a80210456292d9caeca2f08 /main.c | |
parent | 8d1227cffa1e7c98f37d82f31cbb6b363d71ed16 (diff) | |
download | dzen-8518b4c31a12a81006f51f549cfb681a18727f0b.tar.gz dzen-8518b4c31a12a81006f51f549cfb681a18727f0b.zip |
scrollhome annyoances
git-svn-id: http://dzen.googlecode.com/svn/trunk@94 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -484,7 +484,9 @@ handle_newl(void) { dzen.slave_win.last_line_vis = 0; x_draw_body(); } - else if(wa.map_state != IsUnmapped) + /* needed for scrollhome */ + else if(wa.map_state != IsUnmapped + && dzen.slave_win.last_line_vis == dzen.slave_win.max_lines) x_draw_body(); /* forget state if window was unmapped */ else if(wa.map_state == IsUnmapped || !dzen.slave_win.last_line_vis) { |