summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorDmitry Klimov <lazyklimm@gmail.com>2012-05-12 21:52:03 +0200
committerDmitry Klimov <lazyklimm@gmail.com>2012-05-12 21:52:03 +0200
commit22d313f262bc9b991f36a93a147300dd43217bb7 (patch)
tree7e8a494f84716f5767cb4b9d1df68ab8ce4abf2b /options.c
parente0429db04c7a0867d0befdfd2ce5bc4e6804f5f7 (diff)
downloadxbindkeys-22d313f262bc9b991f36a93a147300dd43217bb7.tar.gz
Make release modifier works as expected when autorepeat is enabled
Diffstat (limited to 'options.c')
-rw-r--r--options.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/options.c b/options.c
index 82e6d10..18487a8 100644
--- a/options.c
+++ b/options.c
@@ -42,6 +42,7 @@ int poll_rc = 0;
int have_to_show_binding = 0;
int have_to_get_binding = 0;
int have_to_start_as_daemon = 1;
+int detectable_ar = 0;
char *geom = NULL;
@@ -158,6 +159,11 @@ get_options (int argc, char **argv)
{
have_to_start_as_daemon = 0;
}
+ else if (strcmp (argv[i], "-sd") == 0
+ || strcmp (argv[i], "--detectable-ar") == 0)
+ {
+ detectable_ar = 1;
+ }
else
{
show_help ();