summaryrefslogtreecommitdiff
path: root/lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-03-10 12:07:43 +0200
committerBlackNoxis <steven.darklight@gmail.com>2015-03-10 12:07:43 +0200
commit152f73df24df52aa43cad82d64dfe650e76cbe9f (patch)
treede44c8b51f262ff1cd12f1eb5ea5506844857941 /lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch
parent1538033bb36ad2fc1e427e8d8d68888321a17e7f (diff)
Added lxpanel
Diffstat (limited to 'lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch')
-rw-r--r--lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch b/lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch
new file mode 100644
index 00000000..f6325b6f
--- /dev/null
+++ b/lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch
@@ -0,0 +1,25 @@
+From d4943c80cded6325284be8b58003fe63dd6e8255 Mon Sep 17 00:00:00 2001
+From: Raimar <no@email.de>
+Date: Thu, 21 Aug 2014 23:21:28 +0200
+Subject: [PATCH 1/1] fix crash after click on empty part of panel
+
+---
+ src/panel.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/panel.c b/src/panel.c
+index 6b2ede6..87903d8 100644
+--- a/src/panel.c
++++ b/src/panel.c
+@@ -233,7 +233,7 @@ static gboolean lxpanel_button_press(GtkWidget *widget, GdkEventButton *event)
+ gtk_menu_popup(popup, NULL, NULL, NULL, NULL, event->button, event->time);
+ return TRUE;
+ }
+- return GTK_WIDGET_CLASS(lxpanel_parent_class)->button_press_event(widget, event);
++ return FALSE;
+ }
+
+ static void lxpanel_class_init(PanelToplevelClass *klass)
+--
+1.7.10.4
+