diff options
| author | Karl Heuer | 1997-10-24 19:58:22 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-10-24 19:58:22 +0000 |
| commit | 95fa970dd693e610937d282d2777b9ab453dfb45 (patch) | |
| tree | c5dc71d374fa1bde84f9579a52341e75d4d03b49 /src | |
| parent | 66e827dc32fb335b0a9f1bffb0ad1b29cee25649 (diff) | |
| download | emacs-95fa970dd693e610937d282d2777b9ab453dfb45.tar.gz emacs-95fa970dd693e610937d282d2777b9ab453dfb45.zip | |
(w32_mouse_position): Handle INSIST < 0.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 4 |
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) | |||
| 1748 | 1748 | ||
| 1749 | BLOCK_INPUT; | 1749 | BLOCK_INPUT; |
| 1750 | 1750 | ||
| 1751 | if (! NILP (last_mouse_scroll_bar)) | 1751 | if (! NILP (last_mouse_scroll_bar) && insist == 0) |
| 1752 | /* This is never called at the moment. */ | 1752 | /* This is never called at the moment. */ |
| 1753 | x_scroll_bar_report_motion (fp, bar_window, part, x, y, time); | 1753 | x_scroll_bar_report_motion (fp, bar_window, part, x, y, time); |
| 1754 | else | 1754 | else |
| @@ -1790,7 +1790,7 @@ w32_mouse_position (fp, insist, bar_window, part, x, y, time) | |||
| 1790 | } | 1790 | } |
| 1791 | } | 1791 | } |
| 1792 | 1792 | ||
| 1793 | if (f1 == 0 && insist) | 1793 | if (f1 == 0 && insist > 0) |
| 1794 | f1 = selected_frame; | 1794 | f1 = selected_frame; |
| 1795 | 1795 | ||
| 1796 | if (f1) | 1796 | if (f1) |