Mercurial > pidgin.yaz
changeset 14314:8b8188fa98f4
[gaim-migrate @ 17007]
This is a temporary change, allowing people with slightly older versions of ncurses
to build. I plan to evetually add mouse support for older versions.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 23 Aug 2006 18:50:46 +0000 |
parents | 8a2b571f9990 |
children | 8793fc8f7064 |
files | console/libgnt/gntmain.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/console/libgnt/gntmain.c Wed Aug 23 16:36:58 2006 +0000 +++ b/console/libgnt/gntmain.c Wed Aug 23 18:50:46 2006 +0000 @@ -560,7 +560,7 @@ offset = 0; } else return FALSE; - return TRUE; + return FALSE; /* XXX: this should be TRUE */ } static gboolean @@ -885,8 +885,10 @@ wbkgdset(stdscr, '\0' | COLOR_PAIR(GNT_COLOR_NORMAL)); refresh(); +#ifdef NCURSES_BUTTON_PRESSEDaa if ((mouse_enabled = gnt_style_get_bool(GNT_STYLE_MOUSE, FALSE))) - mousemask(NCURSES_BUTTON_PRESSED | NCURSES_BUTTON_RELEASED , NULL); + mousemask(NCURSES_BUTTON_PRESSED | NCURSES_BUTTON_RELEASED | REPORT_MOUSE_POSITION, NULL); +#endif wbkgdset(stdscr, '\0' | COLOR_PAIR(GNT_COLOR_NORMAL)); werase(stdscr);