mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
497 B

  1. --- ./src/mouse.c~ 2002-05-07 10:41:38.000000000 +0200
  2. +++ ./src/mouse.c 2006-03-29 22:35:28.000000000 +0200
  3. @@ -75,11 +75,9 @@
  4. conn.maxMod = 0;
  5. conn.minMod = 0;
  6. /* don't check for < 0, gpm-xterm returns -2 */
  7. - if (Gpm_Open(&conn, 0) != -1) {
  8. + if (Gpm_Open(&conn, 0) != -1)
  9. gpm_handler = MouseHandler;
  10. - Wgetch = Gpm_Wgetch;
  11. - } else
  12. - Wgetch = wgetch;
  13. + Wgetch = wgetch;
  14. #if HAVE_GETMOUSE
  15. /* enable ncurses mouse reporting */
  16. #define MMASK (BUTTON1_PRESSED | BUTTON1_CLICKED | \