diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2015-01-17 18:53:29 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2015-01-17 18:53:29 +0200 |
commit | 074b2d1b5894f12fae78a569ea507612616663ff (patch) | |
tree | 505af8b2e0a82993d2d070afcf42fe303dbf1302 /client/bemenu.c | |
parent | b32b8db5236f86007cd37aecbcc64060b2038fc2 (diff) | |
download | bemenu-074b2d1b5894f12fae78a569ea507612616663ff.tar.gz bemenu-074b2d1b5894f12fae78a569ea507612616663ff.tar.bz2 bemenu-074b2d1b5894f12fae78a569ea507612616663ff.zip |
Remove --backend and --prioritory options, change prioritory -> priorty
and provide BEMENU_BACKEND env variable. Change API to reflect this
change.
There is no reliable way to detect when running on terminal (especially
when stdin is a pipe), so we need to make curses backend explicit with
BEMENU_BACKEND=curses or bm_menu_new("curses"), otherwise GUI backend
will be choosed automatically.
Diffstat (limited to 'client/bemenu.c')
-rw-r--r-- | client/bemenu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/client/bemenu.c b/client/bemenu.c index 338617c..e441f3d 100644 --- a/client/bemenu.c +++ b/client/bemenu.c @@ -5,7 +5,6 @@ #include "common.h" static struct client client = { - .prioritory = BM_PRIO_ANY, .filter_mode = BM_FILTER_MODE_DMENU, .wrap = 0, .lines = 0, |