summaryrefslogtreecommitdiff
path: root/lib/renderers/wayland/wayland.c
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2015-01-17 18:53:29 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2015-01-17 18:53:29 +0200
commit074b2d1b5894f12fae78a569ea507612616663ff (patch)
tree505af8b2e0a82993d2d070afcf42fe303dbf1302 /lib/renderers/wayland/wayland.c
parentb32b8db5236f86007cd37aecbcc64060b2038fc2 (diff)
downloadbemenu-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 'lib/renderers/wayland/wayland.c')
-rw-r--r--lib/renderers/wayland/wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/renderers/wayland/wayland.c b/lib/renderers/wayland/wayland.c
index a3866c6..252d86f 100644
--- a/lib/renderers/wayland/wayland.c
+++ b/lib/renderers/wayland/wayland.c
@@ -234,7 +234,7 @@ register_renderer(struct render_api *api)
api->get_displayed_count = get_displayed_count;
api->poll_key = poll_key;
api->render = render;
- api->prioritory = BM_PRIO_GUI;
+ api->priorty = BM_PRIO_GUI;
api->version = BM_PLUGIN_VERSION;
return "wayland";
}