diff options
| author | Jim Blandy | 1993-05-22 09:13:57 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-22 09:13:57 +0000 |
| commit | 929787e104051f3ba7c5bee9d696e754bb8db6fc (patch) | |
| tree | 064ba28a1359c7b0d93c9a1270190ad00f5a5cba /src | |
| parent | a822d92fb3da2ef538d4f66f0cf4a33cfeef2b87 (diff) | |
| download | emacs-929787e104051f3ba7c5bee9d696e754bb8db6fc.tar.gz emacs-929787e104051f3ba7c5bee9d696e754bb8db6fc.zip | |
* xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar;
that feature requires more support to work correctly.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index d558f394b3e..a6b7fa4c07f 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2295,12 +2295,16 @@ x_scroll_bar_handle_click (bar, event, emacs_event) | |||
| 2295 | emacs_event->part = scroll_bar_handle; | 2295 | emacs_event->part = scroll_bar_handle; |
| 2296 | else | 2296 | else |
| 2297 | emacs_event->part = scroll_bar_below_handle; | 2297 | emacs_event->part = scroll_bar_below_handle; |
| 2298 | 2298 | ||
| 2299 | /* Just because the user has clicked on the handle doesn't mean | ||
| 2300 | they want to drag it. */ | ||
| 2301 | #if 0 | ||
| 2299 | /* If the user has just clicked on the handle, record where they're | 2302 | /* If the user has just clicked on the handle, record where they're |
| 2300 | holding it. */ | 2303 | holding it. */ |
| 2301 | if (event->type == ButtonPress | 2304 | if (event->type == ButtonPress |
| 2302 | && emacs_event->part == scroll_bar_handle) | 2305 | && emacs_event->part == scroll_bar_handle) |
| 2303 | XSET (bar->dragging, Lisp_Int, y - XINT (bar->start)); | 2306 | XSET (bar->dragging, Lisp_Int, y - XINT (bar->start)); |
| 2307 | #endif | ||
| 2304 | 2308 | ||
| 2305 | /* If the user has released the handle, set it to its final position. */ | 2309 | /* If the user has released the handle, set it to its final position. */ |
| 2306 | if (event->type == ButtonRelease | 2310 | if (event->type == ButtonRelease |