From e8e5ab597a6233a8ae7af75aee51451de51ed0e5 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 31 Mar 2014 21:50:33 +0100 Subject: Do not scroll to end when chat room message whilst paging --- src/server_events.c | 1 - src/ui/core.c | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/server_events.c b/src/server_events.c index c5a3594e..3b2967f7 100644 --- a/src/server_events.c +++ b/src/server_events.c @@ -191,7 +191,6 @@ handle_room_message(const char * const room_jid, const char * const nick, const char * const message) { ui_room_message(room_jid, nick, message); - ui_current_page_off(); if (prefs_get_boolean(PREF_GRLOG)) { Jid *jid = jid_create(jabber_get_fulljid()); diff --git a/src/ui/core.c b/src/ui/core.c index 4a8a984f..b6032c8e 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -1331,6 +1331,12 @@ _ui_room_message(const char * const room_jid, const char * const nick, jid_destroy(jidp); } } + + ProfWin *current = wins_get_current(); + if (!current->paged) { + win_move_to_end(current); + win_refresh(current); + } } static void -- cgit 1.4.1-2-gfad0 resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/baremetal/501draw-text.mu
blob: d74558291b900bdcdb225b44dc48683a8fe2f725 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11