summaryrefslogtreecommitdiff
path: root/src/dillo.cc
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
commit7041a15eb5ff0700b9cbc9eeca62c15183359152 (patch)
tree33ebc20343900f2575d8c38589078478fbe32b66 /src/dillo.cc
parent2cefda0e49830d6ca348f37300bb53bffccb4568 (diff)
disable drag and drop
DND support crashes on MacOSX and causes confusion on X11. reported by: James C
Diffstat (limited to 'src/dillo.cc')
-rw-r--r--src/dillo.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index 0a68cb59..79160878 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -508,6 +508,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) {