summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2013-12-31 19:30:18 +0100
committerJan Djärv <jan.h.d@swipnet.se>2013-12-31 19:30:18 +0100
commita2301006964e8e773b39e3f7142ceb5925e6f518 (patch)
treeccec6336a190edc6acf18e3672ae000fdb68d1ac /src
parentbd717ca4f4c25e45dcb3b894323fd608ae278922 (diff)
downloademacs-a2301006964e8e773b39e3f7142ceb5925e6f518.tar.gz
* nsterm.m (windowDidResignKey:): Set mouse_moved to 0.
Fixes: debbugs:8421
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/nsterm.m1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d17191df9d0..a363ce331fa 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-31 Jan Djärv <jan.h.d@swipnet.se>
+
+ * nsterm.m (windowDidResignKey:): Set mouse_moved to 0 (Bug#8421).
+
2013-12-31 Fabrice Popineau <fabrice.popineau@supelec.fr>
* w32term.c (w32_initialize): Use LCID and LOWORD.
diff --git a/src/nsterm.m b/src/nsterm.m
index 635f57946b2..8d08dc877ee 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -5950,6 +5950,7 @@ if (cols > 0 && rows > 0)
if (is_focus_frame)
dpyinfo->x_focus_frame = 0;
+ emacsframe->mouse_moved = 0;
ns_frame_rehighlight (emacsframe);
/* FIXME: for some reason needed on second and subsequent clicks away