[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 01/01: Fix stuck button highlight. (bug #12402)

noreply at xfce.org noreply at xfce.org
Fri Apr 15 11:05:10 CEST 2016


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 4f732a1b63595aa6745409bd403e0ca098e20dcd
Author: Graeme Gott <graeme at gottcode.org>
Date:   Fri Apr 15 05:02:30 2016 -0400

    Fix stuck button highlight. (bug #12402)
---
 panel-plugin/window.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/panel-plugin/window.cpp b/panel-plugin/window.cpp
index 176ca2f..0722b25 100644
--- a/panel-plugin/window.cpp
+++ b/panel-plugin/window.cpp
@@ -258,6 +258,12 @@ void WhiskerMenu::Window::hide()
 {
 	gdk_pointer_ungrab(gtk_get_current_event_time());
 
+	// Hide command buttons to remove active border
+	for (int i = 0; i < 4; ++i)
+	{
+		gtk_widget_set_visible(m_commands_button[i], false);
+	}
+
 	// Hide window
 	gtk_widget_hide(GTK_WIDGET(m_window));
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list