> Your changes broke commit 47830790a414720b77798e3af62350b8dbf677bc on girara 
> develop branch, which I've added a while ago to enable showing/hiding the 
> horizontal/vertical scrollbars independently from each others, while making 
> the 
> show-scrollbars setting sensitive to this (will be set to true if both 
> scrollbars are shown, and vice verse).

Oops, sorry about that. Here is a fix.

Abdó.

>From faf4268b16bf9a4f2d2e913212b789b2d56d365f Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.r...@gmail.com>
Date: Sun, 7 Jul 2013 18:05:01 +0200
Subject: [PATCH] fix independent scrollbar hiding

---
 config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.c b/config.c
index ef70f4f..425a018 100644
--- a/config.c
+++ b/config.c
@@ -170,7 +170,7 @@ cb_scrollbars(girara_session_t* session, const char* name,
   if (show_hscrollbar && show_vscrollbar && !val) {
     val = true;
     girara_setting_set(session, "show-scrollbars", &val);
-  } else if (!(show_hscrollbar && show_vscrollbar) && val) {
+  } else if (!show_hscrollbar && !show_vscrollbar && val) {
     val = false;
     girara_setting_set(session, "show-scrollbars", &val);
   }
-- 
1.8.3.2

_______________________________________________
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura

Reply via email to