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

gottcode pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 5e881beb3b57047e722723fe4fff05b621dc91cf
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 14a0da0..fd629d0 100644
--- a/panel-plugin/window.cpp
+++ b/panel-plugin/window.cpp
@@ -286,6 +286,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