mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
But broken drun under a configure option.
This commit is contained in:
parent
58eaa81520
commit
a90ff48032
2 changed files with 7 additions and 2 deletions
|
@ -52,6 +52,11 @@ AC_ARG_ENABLE(gcov,
|
||||||
AC_ARG_ENABLE(asan,
|
AC_ARG_ENABLE(asan,
|
||||||
[ --enable-asan asan],
|
[ --enable-asan asan],
|
||||||
[AM_CFLAGS="${AM_CFLAGS} -fsanitize=address -fno-omit-frame-pointer -g3"])
|
[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 ---------------------------------------------------------------------
|
||||||
dnl Disable window mode
|
dnl Disable window mode
|
||||||
dnl ---------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------
|
||||||
|
|
|
@ -368,12 +368,12 @@ static int add_mode ( const char * token )
|
||||||
modi[num_modi] = &run_mode;
|
modi[num_modi] = &run_mode;
|
||||||
num_modi++;
|
num_modi++;
|
||||||
}
|
}
|
||||||
/*
|
#ifdef BROKEN_DRUN
|
||||||
else if ( strcasecmp ( token, "drun" ) == 0 ) {
|
else if ( strcasecmp ( token, "drun" ) == 0 ) {
|
||||||
modi[num_modi] = &drun_mode;
|
modi[num_modi] = &drun_mode;
|
||||||
num_modi++;
|
num_modi++;
|
||||||
}
|
}
|
||||||
*/
|
#endif
|
||||||
// combi dialog
|
// combi dialog
|
||||||
else if ( strcasecmp ( token, "combi" ) == 0 ) {
|
else if ( strcasecmp ( token, "combi" ) == 0 ) {
|
||||||
modi[num_modi] = &combi_mode;
|
modi[num_modi] = &combi_mode;
|
||||||
|
|
Loading…
Reference in a new issue