diff -r 357331cd000d -r ea1f88b778f7 mozilla-kde.patch --- a/mozilla-kde.patch Sat Mar 26 09:44:55 2011 +0100 +++ b/mozilla-kde.patch Tue Mar 29 09:35:30 2011 +0200 @@ -2616,7 +2616,7 @@ new file mode 100644 --- /dev/null +++ b/toolkit/xre/nsKDEUtils.cpp -@@ -0,0 +1,334 @@ +@@ -0,0 +1,328 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 @@ -2817,12 +2817,6 @@ + { + if( !startHelper()) + return false; -+ // if Gtk has meanwhile gotten a grab (bnc#555202, somehow the file dialog -+ // is called with a delay), then do not do anything, as this app would keep -+ // the grabs but block waiting for the helper, which would be unable to do -+ // anything because of the grab -+ if( blockUi && gdk_pointer_is_grabbed()) -+ return false; + feedCommand( command ); + // do not store the data in 'this' but in extra structure, just in case there + // is reentrancy (can there be? the event loop is re-entered)