diff --git a/configure.ac b/configure.ac index 006d0f45..e0076887 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,11 @@ AC_ARG_ENABLE(gcov, AC_ARG_ENABLE(asan, [ --enable-asan asan], [AM_CFLAGS="${AM_CFLAGS} -fsanitize=address -fno-omit-frame-pointer -g3"]) + + +AC_ARG_ENABLE(broken-drun, + [ --enable-broken-drun drun], + [AM_CFLAGS="${AM_CFLAGS} -DBROKEN_DRUN"]) dnl --------------------------------------------------------------------- dnl Disable window mode dnl --------------------------------------------------------------------- diff --git a/source/rofi.c b/source/rofi.c index 9d38fba5..df61234d 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -368,12 +368,12 @@ static int add_mode ( const char * token ) modi[num_modi] = &run_mode; num_modi++; } - /* +#ifdef BROKEN_DRUN else if ( strcasecmp ( token, "drun" ) == 0 ) { modi[num_modi] = &drun_mode; num_modi++; } - */ +#endif // combi dialog else if ( strcasecmp ( token, "combi" ) == 0 ) { modi[num_modi] = &combi_mode;