summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-07-08 12:51:47 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-07-08 12:51:47 +0200
commit3aacde475ce9e5654fd16e25c3d31d52c06de5cb (patch)
tree147a594dbe090749877929f45a59ec042c0d5804 /src/menu.c
parent477d49d4be8d10f108cbb8c7033e00ddeb02558b (diff)
Remove --menu-border option
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/menu.c b/src/menu.c
index 93bae10..a3566eb 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -111,10 +111,8 @@ feh_menu *feh_menu_new(void)
if (!bg) {
feh_load_image_char(&bg, opt.menu_bg);
if (bg) {
- border.left = opt.menu_border;
- border.right = opt.menu_border;
- border.top = opt.menu_border;
- border.bottom = opt.menu_border;
+ border.left = border.right = border.top = border.bottom
+ = 4;
imlib_context_set_image(bg);
imlib_image_set_border(&border);
}