summaryrefslogtreecommitdiff
path: root/plugins/screenshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/screenshot.c')
-rw-r--r--plugins/screenshot.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/screenshot.c b/plugins/screenshot.c
index c2cdd59c..2e06d544 100644
--- a/plugins/screenshot.c
+++ b/plugins/screenshot.c
@@ -443,14 +443,9 @@ shotSetDisplayOption (CompPlugin *plugin,
if (setDisplayAction (display, o, value))
return TRUE;
break;
- case SHOT_DISPLAY_OPTION_DIR:
- if (compSetStringOption (o, value))
- return TRUE;
- break;
- case SHOT_DISPLAY_OPTION_LAUNCH_APP:
- if (compSetStringOption (o, value))
- return TRUE;
default:
+ if (compSetOption (o, value))
+ return TRUE;
break;
}