diff --git a/gui-apps/coretoppings/coretoppings-4.1.0.ebuild b/gui-apps/coretoppings/coretoppings-4.1.0-r1.ebuild similarity index 94% rename from gui-apps/coretoppings/coretoppings-4.1.0.ebuild rename to gui-apps/coretoppings/coretoppings-4.1.0-r1.ebuild index 0fa865a465..2b7a766907 100644 --- a/gui-apps/coretoppings/coretoppings-4.1.0.ebuild +++ b/gui-apps/coretoppings/coretoppings-4.1.0-r1.ebuild @@ -34,6 +34,10 @@ RDEPEND=" pulseaudio? ( media-sound/pulseaudio ) " +PATCHES=( + "${FILESDIR}/${P}-statusnotifierbutton.patch" +) + src_prepare() { default diff --git a/gui-apps/coretoppings/files/coretoppings-4.1.0-statusnotifierbutton.patch b/gui-apps/coretoppings/files/coretoppings-4.1.0-statusnotifierbutton.patch new file mode 100644 index 0000000000..cfd0f5cd62 --- /dev/null +++ b/gui-apps/coretoppings/files/coretoppings-4.1.0-statusnotifierbutton.patch @@ -0,0 +1,12 @@ +index d07eb6b..c339657 100644 +--- a/sni/statusnotifierbutton.cpp ++++ b/sni/statusnotifierbutton.cpp +@@ -267,7 +267,7 @@ void StatusNotifierButton::mouseReleaseEvent(QMouseEvent *event) + { + if (event->button() == Qt::LeftButton) + interface->Activate(QCursor::pos().x(), QCursor::pos().y()); +- else if (event->button() == Qt::MidButton) ++ else if (event->button() == Qt::MiddleButton) + interface->SecondaryActivate(QCursor::pos().x(), QCursor::pos().y()); + else if (Qt::RightButton == event->button()) + {