]> git.eshelyaron.com Git - emacs.git/commitdiff
* xdisp.c (start_hourglass): Call w32_note_current_window when
authorDaniel Colascione <dancol@dancol.org>
Mon, 8 Oct 2012 19:22:42 +0000 (11:22 -0800)
committerDaniel Colascione <dancol@dancol.org>
Mon, 8 Oct 2012 19:22:42 +0000 (11:22 -0800)
HAVE_NTGUI but not WINDOWSNT, resolving a problem that caused Emacs to
display the hourglass cursor forever.

src/ChangeLog
src/xdisp.c

index 4531cee8dba7b17bbf09efe7bc9e56426aa4e609..c2c6a72d43f14f7a3f276d2da048063ae71816c8 100644 (file)
@@ -1,3 +1,9 @@
+2012-10-08  Daniel Colascione  <dancol@dancol.org>
+
+       * xdisp.c (start_hourglass): Call w32_note_current_window when
+       HAVE_NTGUI but not WINDOWSNT, resolving a problem that caused
+       Emacs to display the hourglass cursor forever.
+
 2012-10-08  Jan Djärv  <jan.h.d@swipnet.se>
        * nsfont.m (Vfonts_in_cache): New variable.
        (nsfont_open): Use unsignedLongLongValue for cache in case wide ints
index 2047c0e78c13112905ed72009e521acdbf633df0..1e61a74068b5636e1c8e5e17be65bb267dd82331 100644 (file)
@@ -29379,9 +29379,10 @@ start_hourglass (void)
   else
     delay = make_emacs_time (DEFAULT_HOURGLASS_DELAY, 0);
 
-#ifdef WINDOWSNT
+#ifdef HAVE_NTGUI
+  extern void w32_note_current_window (void);
   w32_note_current_window ();
-#endif
+#endif /* HAVE_NTGUI */
 
   hourglass_atimer = start_atimer (ATIMER_RELATIVE, delay,
                                   show_hourglass, NULL);