diff options
| author | Nick Roberts | 2007-05-20 05:13:28 +0000 |
|---|---|---|
| committer | Nick Roberts | 2007-05-20 05:13:28 +0000 |
| commit | 7e5a23bd93d600f719b3b6db4cfbb925d7ea8c8f (patch) | |
| tree | dd382d8493d1c892047eaf1ad657be173e691488 /src/term.c | |
| parent | a8099827a4c6c243b57dcfee9d17f3b7475670e4 (diff) | |
| download | emacs-7e5a23bd93d600f719b3b6db4cfbb925d7ea8c8f.tar.gz emacs-7e5a23bd93d600f719b3b6db4cfbb925d7ea8c8f.zip | |
Use HAVE_GPM instead of HAVE_GPM_H.
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/term.c b/src/term.c index 5422d29efb9..b9190e69fa4 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -410,7 +410,7 @@ static void term_mouse_highlight (struct frame *f, int x, int y); | |||
| 410 | #define FRAME_TERMCAP_P(_f_) 0 | 410 | #define FRAME_TERMCAP_P(_f_) 0 |
| 411 | #endif /* WINDOWSNT */ | 411 | #endif /* WINDOWSNT */ |
| 412 | 412 | ||
| 413 | #ifdef HAVE_GPM_H | 413 | #ifdef HAVE_GPM |
| 414 | #include <sys/fcntl.h> | 414 | #include <sys/fcntl.h> |
| 415 | #include "buffer.h" | 415 | #include "buffer.h" |
| 416 | 416 | ||
| @@ -435,7 +435,7 @@ int mouse_face_mouse_x, mouse_face_mouse_y; | |||
| 435 | 435 | ||
| 436 | static int pos_x, pos_y; | 436 | static int pos_x, pos_y; |
| 437 | static int last_mouse_x, last_mouse_y; | 437 | static int last_mouse_x, last_mouse_y; |
| 438 | #endif /* HAVE_GPM_H */ | 438 | #endif /* HAVE_GPM */ |
| 439 | 439 | ||
| 440 | void | 440 | void |
| 441 | ring_bell () | 441 | ring_bell () |
| @@ -2381,7 +2381,7 @@ set_tty_color_mode (f, val) | |||
| 2381 | Mouse | 2381 | Mouse |
| 2382 | ***********************************************************************/ | 2382 | ***********************************************************************/ |
| 2383 | 2383 | ||
| 2384 | #ifdef HAVE_GPM_H | 2384 | #ifdef HAVE_GPM |
| 2385 | static void | 2385 | static void |
| 2386 | term_show_mouse_face (enum draw_glyphs_face draw) | 2386 | term_show_mouse_face (enum draw_glyphs_face draw) |
| 2387 | { | 2387 | { |
| @@ -3024,7 +3024,7 @@ DEFUN ("term-close-connection", Fterm_close_connection, Sterm_close_connection, | |||
| 3024 | term_gpm = 0; | 3024 | term_gpm = 0; |
| 3025 | return Qnil; | 3025 | return Qnil; |
| 3026 | } | 3026 | } |
| 3027 | #endif /* HAVE_GPM_H */ | 3027 | #endif /* HAVE_GPM */ |
| 3028 | 3028 | ||
| 3029 | 3029 | ||
| 3030 | /*********************************************************************** | 3030 | /*********************************************************************** |
| @@ -3045,7 +3045,7 @@ term_init (terminal_type) | |||
| 3045 | 3045 | ||
| 3046 | encode_terminal_bufsize = 0; | 3046 | encode_terminal_bufsize = 0; |
| 3047 | 3047 | ||
| 3048 | #ifdef HAVE_GPM_H | 3048 | #ifdef HAVE_GPM |
| 3049 | /* TODO: Can't get Gpm_Snapshot in term_mouse_position to work: test with | 3049 | /* TODO: Can't get Gpm_Snapshot in term_mouse_position to work: test with |
| 3050 | (mouse-position). Also set-mouse-position won't work as is. */ | 3050 | (mouse-position). Also set-mouse-position won't work as is. */ |
| 3051 | /* mouse_position_hook = term_mouse_position; */ | 3051 | /* mouse_position_hook = term_mouse_position; */ |
| @@ -3500,10 +3500,10 @@ bigger, or it may make it blink, or it may do nothing at all. */); | |||
| 3500 | defsubr (&Stty_display_color_p); | 3500 | defsubr (&Stty_display_color_p); |
| 3501 | defsubr (&Stty_display_color_cells); | 3501 | defsubr (&Stty_display_color_cells); |
| 3502 | defsubr (&Stty_no_underline); | 3502 | defsubr (&Stty_no_underline); |
| 3503 | #ifdef HAVE_GPM_H | 3503 | #ifdef HAVE_GPM |
| 3504 | defsubr (&Sterm_open_connection); | 3504 | defsubr (&Sterm_open_connection); |
| 3505 | defsubr (&Sterm_close_connection); | 3505 | defsubr (&Sterm_close_connection); |
| 3506 | #endif /* HAVE_GPM_H */ | 3506 | #endif /* HAVE_GPM */ |
| 3507 | 3507 | ||
| 3508 | fullscreen_hook = NULL; | 3508 | fullscreen_hook = NULL; |
| 3509 | } | 3509 | } |