diff options
| author | Dmitry Antipov | 2013-09-05 07:51:37 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-09-05 07:51:37 +0400 |
| commit | 98b7f4bdefcc684389bebbd855a02a8097f1bb45 (patch) | |
| tree | c7bdd5c9f2acd223fe0029b937d603d96a1bcc79 /src/xterm.c | |
| parent | c0458e0b21bf507b6a9273189c58a6b97efa2db2 (diff) | |
| download | emacs-98b7f4bdefcc684389bebbd855a02a8097f1bb45.tar.gz emacs-98b7f4bdefcc684389bebbd855a02a8097f1bb45.zip | |
* frame.c (check_minibuf_window): Update 'frame' with frame pointer.
* xterm.c (x_scroll_bar_handle_click) [!USE_TOOLKIT_SCROLL_BARS]:
Don't pass C integer to XINT (tiny fix for 2013-09-03 change).
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index c7bfbae9e46..2f3d5ca7a01 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -5473,7 +5473,7 @@ x_scroll_bar_handle_click (struct scroll_bar *bar, XEvent *event, struct input_e | |||
| 5473 | /* If the user has released the handle, set it to its final position. */ | 5473 | /* If the user has released the handle, set it to its final position. */ |
| 5474 | if (event->type == ButtonRelease && bar->dragging != -1) | 5474 | if (event->type == ButtonRelease && bar->dragging != -1) |
| 5475 | { | 5475 | { |
| 5476 | int new_start = y - XINT (bar->dragging); | 5476 | int new_start = y - bar->dragging; |
| 5477 | int new_end = new_start + bar->end - bar->start; | 5477 | int new_end = new_start + bar->end - bar->start; |
| 5478 | 5478 | ||
| 5479 | x_scroll_bar_set_handle (bar, new_start, new_end, 0); | 5479 | x_scroll_bar_set_handle (bar, new_start, new_end, 0); |