bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2193: 23.0.90/winxp; crash when closing speedbar


From: martin rudalics
Subject: bug#2193: 23.0.90/winxp; crash when closing speedbar
Date: Thu, 05 Feb 2009 19:20:56 +0100
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

emacs crashes every time I do the following:

go to Options->Show/Hide->speedbar
in the speedbar frame: click modeline->Speedbar->Quit

In GNU Emacs 23.0.90.1 (i386-mingw-nt5.1.2600)
 of 2009-02-01 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

Could you please try the attached patch?

Thank you, martin.

*** w32fns.c.~1.354.~   2009-01-18 17:29:00.343750000 +0100
--- w32fns.c    2009-02-05 19:17:05.515625000 +0100
***************
*** 5277,5288 ****
  {
    if (hourglass_shown_p)
      {
!       struct frame *f = x_window_to_frame (&one_w32_display_info,
!                                          hourglass_hwnd);
  
-       f->output_data.w32->hourglass_p = 0;
-       SetCursor (f->output_data.w32->current_cursor);
        hourglass_shown_p = 0;
      }
  }
  
--- 5277,5295 ----
  {
    if (hourglass_shown_p)
      {
!       struct frame *f;
! 
!       BLOCK_INPUT;
!       f = x_window_to_frame (&one_w32_display_info, hourglass_hwnd);
! 
!       if (f)
!       {
!         f->output_data.w32->hourglass_p = 0;
!         SetCursor (f->output_data.w32->current_cursor);
!       }
  
        hourglass_shown_p = 0;
+       UNBLOCK_INPUT;
      }
  }
  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]