aboutsummaryrefslogtreecommitdiff
path: root/www/kompozer/files/patch-widget_src_gtk2_nsDragService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/kompozer/files/patch-widget_src_gtk2_nsDragService.cpp')
-rw-r--r--www/kompozer/files/patch-widget_src_gtk2_nsDragService.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/kompozer/files/patch-widget_src_gtk2_nsDragService.cpp b/www/kompozer/files/patch-widget_src_gtk2_nsDragService.cpp
new file mode 100644
index 000000000000..df9abaef67cc
--- /dev/null
+++ b/www/kompozer/files/patch-widget_src_gtk2_nsDragService.cpp
@@ -0,0 +1,18 @@
+--- widget/src/gtk2/nsDragService.cpp.nograb 2007-01-16 21:26:49.000000000 -0500
++++ widget/src/gtk2/nsDragService.cpp 2007-01-16 21:27:04.000000000 -0500
+@@ -799,7 +799,6 @@
+ void
+ nsDragService::GetTargetDragData(GdkAtom aFlavor)
+ {
+- gtk_grab_add(mHiddenWidget);
+ PR_LOG(sDragLm, PR_LOG_DEBUG, ("getting data flavor %d\n", aFlavor));
+ PR_LOG(sDragLm, PR_LOG_DEBUG, ("mLastWidget is %p and mLastContext is %p\n",
+ mTargetWidget, mTargetDragContext));
+@@ -817,7 +816,6 @@
+ gtk_main_iteration();
+ }
+ PR_LOG(sDragLm, PR_LOG_DEBUG, ("finished inner iteration\n"));
+- gtk_grab_remove(mHiddenWidget);
+ }
+
+ void