Mailinglist Archive: opensuse (1597 mails)

< Previous Next >
Re: [opensuse] KDE4, disable switching desktops with mouse scroll wheel
  • From: Will Stephenson <wstephenson@xxxxxxx>
  • Date: Wed, 28 Oct 2009 21:06:56 +0100
  • Message-id: <200910282106.56779.wstephenson@xxxxxxx>
On Wednesday 28 October 2009 18:51:20 Clayton wrote:
alternatively you could turn off desktop spinning..

Kind of defeats the purpose :-)

and.. doesn't help anyway... as long as compositing is turned on and
desktop effects are turned on, the desktop switches when you activate
the mouse scroll on the desktop... regardless of Cube, Fade etc etc..
or no switching effect. I use it on my desktop, there it's fine..
it's only really a problem on the netbook combined with my fat
fingers.

I looked, swearing blind that it used to be possible - but it's not, in 4.3 at
least. From KDE 4.4 it is configurable again, from the Desktop Settings
dialog.

The 4.4 beta cycle isn't that far off. Alternatively you could add the
attached patch to a personal branch of kdelibs4 in the OBS, register the
resulting repo with a lower priority than 11.2, KDE:KDE4:STABLE:Desktop,
KDE:43 or whatever it was branched off and sit tight.

Will
Index: plasma/containment.cpp
===================================================================
--- plasma/containment.cpp (revision 1038007)
+++ plasma/containment.cpp (working copy)
@@ -1282,6 +1282,7 @@
}
}

+#if 0 // my hands are too big for this dainty code
if (d->type == DesktopContainment) {
QGraphicsItem *item = scene()->itemAt(event->scenePos());
if (item == this) {
@@ -1298,7 +1299,7 @@
return;
}
}
-
+#endif
event->ignore();
Applet::wheelEvent(event);
}
< Previous Next >
Follow Ups
References