summaryrefslogtreecommitdiff
path: root/src/w32term.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1997-10-24 19:58:22 +0000
committerKarl Heuer <kwzh@gnu.org>1997-10-24 19:58:22 +0000
commit42756e6836d113b6a41de0da277fbf6434961ff1 (patch)
treee92d729e903269af51bdf24a38d52cac9e57a303 /src/w32term.c
parent6277455d5d306aee3238fb210c742854c03b6239 (diff)
downloademacs-42756e6836d113b6a41de0da277fbf6434961ff1.tar.gz
(w32_mouse_position): Handle INSIST < 0.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c
index a433abc6bb4..053c148bc3e 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1748,7 +1748,7 @@ w32_mouse_position (fp, insist, bar_window, part, x, y, time)
BLOCK_INPUT;
- if (! NILP (last_mouse_scroll_bar))
+ if (! NILP (last_mouse_scroll_bar) && insist == 0)
/* This is never called at the moment. */
x_scroll_bar_report_motion (fp, bar_window, part, x, y, time);
else
@@ -1790,7 +1790,7 @@ w32_mouse_position (fp, insist, bar_window, part, x, y, time)
}
}
- if (f1 == 0 && insist)
+ if (f1 == 0 && insist > 0)
f1 = selected_frame;
if (f1)