diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-07-01 22:11:43 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-07-01 22:11:43 +0000 |
commit | 445d958902177390320e2d5bc384e7fb47afdeaf (patch) | |
tree | 09369fca3c788eef89684b62f53b7d5055fc375a /main.c | |
parent | e1c6a8acab10f0c21f42e739598fd4af913d00a7 (diff) | |
download | dzen-445d958902177390320e2d5bc384e7fb47afdeaf.tar.gz dzen-445d958902177390320e2d5bc384e7fb47afdeaf.zip |
added "onnewinput" event
git-svn-id: http://dzen.googlecode.com/svn/trunk@117 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -515,7 +515,10 @@ static void handle_newl(void) { XWindowAttributes wa; + if(dzen.slave_win.max_lines && (dzen.slave_win.tcnt > last_cnt)) { + do_action(onnewinput); + if (XGetWindowAttributes(dzen.dpy, dzen.slave_win.win, &wa), wa.map_state != IsUnmapped /* autoscroll and redraw only if we're |