From 074b2d1b5894f12fae78a569ea507612616663ff Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Sat, 17 Jan 2015 18:53:29 +0200 Subject: 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. --- client/bemenu-run.c | 1 - 1 file changed, 1 deletion(-) (limited to 'client/bemenu-run.c') diff --git a/client/bemenu-run.c b/client/bemenu-run.c index b68e715..0efc32a 100644 --- a/client/bemenu-run.c +++ b/client/bemenu-run.c @@ -8,7 +8,6 @@ #include "../lib/3rdparty/tinydir.h" static struct client client = { - .prioritory = BM_PRIO_ANY, .filter_mode = BM_FILTER_MODE_DMENU, .wrap = 0, .lines = 0, -- cgit v1.2.3-70-g09d2