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

Bug#407035: Patch for bug #407035 available, please test



tags 407035 patch
tags 407205 patch
thanks

Hi

Attached is a patch that sets the number of pixels the cursor can move before dragging to a value bigger that the length of diagonal line of screen (we currenty use vesa 800*600). The effect is taht one can no longer drag text from the question description and hence this bug should be workarounded for now.

Attilio
Index: gtk.c
===================================================================
--- gtk.c	(revisione 44343)
+++ gtk.c	(copia locale)
@@ -1482,6 +1482,10 @@
 		g_error_free ( err_events_listener ) ;
         return DC_NOTOK;
 	}   
+	
+    /* TODO: workaround for bug #407035 */
+    GtkSettings* settings = gtk_settings_get_default ();
+    gtk_settings_set_long_property (settings, "gtk-dnd-drag-threshold", 1000, "g-i");
 
     return DC_OK;
 }

Reply to: