mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
gui-apps/coretoppings: backport statusnotifierbutton patch
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
@@ -34,6 +34,10 @@ RDEPEND="
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-statusnotifierbutton.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
@@ -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())
|
||||
{
|
||||
Reference in New Issue
Block a user