FreeBSD Bugzilla – Attachment 159022 Details for
Bug 201723
[PATCH] x11-fm/wcmcommander ALT+TAB crash
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch
patch-swl_wincoreUX.cpp (text/x-c++src), 1.14 KB, created by
Ivan
on 2015-07-20 16:54:08 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan
Created:
2015-07-20 16:54:08 UTC
Size:
1.14 KB
patch
obsolete
>diff --git a/src/swl/swl_wincoreUX.cpp b/src/swl/swl_wincoreUX.cpp >index a161e24..7926b6a 100644 >--- src/swl/swl_wincoreUX.cpp >+++ src/swl/swl_wincoreUX.cpp >@@ -1166,22 +1166,22 @@ static const char* getEventName(int id) > { > // close all popups > Win* w = GetWinByID( activeWinId ); >- //dbg_printf("FocusOut %s\n", typeid(*w).name()); >- while(w->parent) >- w=w->parent; >- ccollect<WinID> wl; >- w->PopupTreeList( wl ); >- //dbg_printf("PopupTreeList size=%d\n",wl.count()); >- for(int i=0;i<wl.count();i++) >+ if( w ) > { >- Win* popup = GetWinByID( wl[i] ); >- if(popup) >+ while(w->parent) >+ w=w->parent; >+ ccollect<WinID> wl; >+ w->PopupTreeList( wl ); >+ for(int i=0;i<wl.count();i++) > { >- //dbg_printf("Closing %s\n", typeid(*w).name()); >- if(popup->parent) >- popup->Parent()->Command( CMD_MENU_INFO, SCMD_MENU_CANCEL, popup, 0 ); >+ Win* popup = GetWinByID( wl[i] ); >+ if(popup) >+ { >+ if(popup->parent) >+ popup->Parent()->Command( CMD_MENU_INFO, SCMD_MENU_CANCEL, popup, 0 ); >+ } >+ > } >- > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 201723
: 159022