summaryrefslogtreecommitdiffstats
path: root/src/tweak-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tweak-context.cpp')
-rw-r--r--src/tweak-context.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp
index 85831a648..09e13f1fc 100644
--- a/src/tweak-context.cpp
+++ b/src/tweak-context.cpp
@@ -264,6 +264,14 @@ sp_tweak_context_setup(SPEventContext *ec)
tc->style_set_connection = ec->desktop->connectSetStyle( // catch style-setting signal in this tool
sigc::bind(sigc::ptr_fun(&sp_tweak_context_style_set), tc)
);
+
+ if (prefs_get_int_attribute("tools.tweak", "selcue", 0) != 0) {
+ ec->enableSelectionCue();
+ }
+
+ if (prefs_get_int_attribute("tools.tweak", "gradientdrag", 0) != 0) {
+ ec->enableGrDrag();
+ }
}
static void