aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2015-01-06 21:29:27 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2015-01-06 21:29:27 +0100
commit286b8ddbc7d40834f9f80e4aea86ebc9eda462b1 (patch)
treeaa85bfe402920499416c2d95c1024890c896e3f2
parentb9113ebdd132bf210b862c8b59942fc47b7d455e (diff)
disable drag and drop
DND support crashes on MacOSX and causes confusion on X11. reported by: James C
-rw-r--r--src/dillo.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index ee2f4da4..20b2796e 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -496,6 +496,10 @@ int main(int argc, char **argv)
Fl_Window::default_xclass("dillo");
Fl::scheme(prefs.theme);
+
+ // Disable drag and drop as it crashes on MacOSX
+ Fl::dnd_text_ops(0);
+
setColors();
if (!prefs.show_ui_tooltip) {