* 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).
+2013-09-05 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * 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).
+
2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
* cmds.c (Fself_insert_command): Don't pass a non-integer to XINT.
{
struct frame *f = decode_live_frame (frame);
+ XSETFRAME (frame, f);
+
if (WINDOWP (minibuf_window) && EQ (f->minibuffer_window, minibuf_window))
{
Lisp_Object frames, this, window = make_number (0);
/* If the user has released the handle, set it to its final position. */
if (event->type == ButtonRelease && bar->dragging != -1)
{
- int new_start = y - XINT (bar->dragging);
+ int new_start = y - bar->dragging;
int new_end = new_start + bar->end - bar->start;
x_scroll_bar_set_handle (bar, new_start, new_end, 0);