This is an automated email from the git hooks/post-receive script.

gottcode pushed a 
commit to annotated 
tag v2.3.5
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit a765b803f7fac32e000be44ce04b61b882aa9763
Author: Graeme Gott <gra...@gottcode.org>
Date:   Wed Jan 8 07:15:40 2020 -0500

    Fix categories remaining scrolled when hidden.
---
 panel-plugin/window.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/panel-plugin/window.cpp b/panel-plugin/window.cpp
index 67de030..df97984 100644
--- a/panel-plugin/window.cpp
+++ b/panel-plugin/window.cpp
@@ -291,6 +291,10 @@ void WhiskerMenu::Window::hide()
 {
        ungrab_pointer();
 
+       // Scroll categories to top
+       GtkAdjustment* adjustment = 
gtk_scrolled_window_get_vadjustment(m_sidebar);
+       gtk_adjustment_set_value(adjustment, 
gtk_adjustment_get_lower(adjustment));
+
        // Reset any pressed category buttons
        unset_pressed_category();
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to