aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 d17191df9d..a363ce331f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-31 Jan Djärv <[email protected]>
+
+ * nsterm.m (windowDidResignKey:): Set mouse_moved to 0 (Bug#8421).
+
2013-12-31 Fabrice Popineau <[email protected]>
* w32term.c (w32_initialize): Use LCID and LOWORD.
diff --git a/src/nsterm.m b/src/nsterm.m
index 635f57946b..8d08dc877e 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