aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-13 22:40:47 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-13 22:40:47 +0000
commit8d1227cffa1e7c98f37d82f31cbb6b363d71ed16 (patch)
treec36291351149d7e2fba13a11bf2b2f1d2b41eb66 /main.c
parentc9cefc3ad274cc2debbe9c9417c170ea6f685aec (diff)
downloaddzen-8d1227cffa1e7c98f37d82f31cbb6b363d71ed16.tar.gz
dzen-8d1227cffa1e7c98f37d82f31cbb6b363d71ed16.zip
scroll home again
git-svn-id: http://dzen.googlecode.com/svn/trunk@93 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 0a04885..9027d05 100644
--- a/main.c
+++ b/main.c
@@ -483,7 +483,9 @@ handle_newl(void) {
dzen.slave_win.first_line_vis = 0;
dzen.slave_win.last_line_vis = 0;
x_draw_body();
- }
+ }
+ else if(wa.map_state != IsUnmapped)
+ x_draw_body();
/* forget state if window was unmapped */
else if(wa.map_state == IsUnmapped || !dzen.slave_win.last_line_vis) {
dzen.slave_win.first_line_vis = 0;