summaryrefslogtreecommitdiff
path: root/src/hints.c
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-07-30 23:12:47 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-07-30 23:34:53 +0200
commitc0ca690173cf62e3a861d45b06c5cbbfcef01851 (patch)
treeb86e6e6132a4abfaf56b1b34b57a5553301ea5d7 /src/hints.c
parentc540528c16d560db412b72106fd4566ac1082eec (diff)
Allow to switch off queue feature via config.h.
Diffstat (limited to 'src/hints.c')
-rw-r--r--src/hints.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/hints.c b/src/hints.c
index a79ec62..007832a 100644
--- a/src/hints.c
+++ b/src/hints.c
@@ -169,11 +169,15 @@ static void run_script(char *js)
a.s = v;
a.i = COMMAND_SAVE_URI;
command_save(&a);
- } else if (mode & HINTS_PROCESS_PUSH) {
+ }
+#ifdef FEATURE_QUEUE
+ else if (mode & HINTS_PROCESS_PUSH) {
a.s = v;
a.i = COMMAND_QUEUE_PUSH;
command_queue(&a);
- } else {
+ }
+#endif
+ else {
a.i = VB_CLIPBOARD_PRIMARY | VB_CLIPBOARD_SECONDARY;
a.s = v;
command_yank(&a);