public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/coretoppings/files/, gui-apps/coretoppings/
@ 2020-12-26  2:04 Maciej Barć
  0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2020-12-26  2:04 UTC (permalink / raw
  To: gentoo-commits

commit:     4fb135ec7d876105d1f1667ea55508563ce45282
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Sat Dec 26 02:04:19 2020 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Sat Dec 26 02:04:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4fb135ec

gui-apps/coretoppings: backport statusnotifierbutton patch

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 ...oretoppings-4.1.0.ebuild => coretoppings-4.1.0-r1.ebuild} |  4 ++++
 .../files/coretoppings-4.1.0-statusnotifierbutton.patch      | 12 ++++++++++++
 2 files changed, 16 insertions(+)

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 0fa865a4..2b7a7669 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 00000000..cfd0f5cd
--- /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())
+     {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-26  2:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-26  2:04 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/coretoppings/files/, gui-apps/coretoppings/ Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox