diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /kde-plasma/plasma-desktop/files | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'kde-plasma/plasma-desktop/files')
3 files changed, 0 insertions, 288 deletions
diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-activityswitcher.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-activityswitcher.patch deleted file mode 100644 index a495b075ca6b..000000000000 --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-activityswitcher.patch +++ /dev/null @@ -1,62 +0,0 @@ -From c1f3b45cabe0cf89e13a5b1c9b7a673992320826 Mon Sep 17 00:00:00 2001 -From: Thomas Surrel <thomas.surrel@protonmail.com> -Date: Tue, 22 May 2018 14:20:25 -0600 -Subject: Activity switcher auto-hide when using Meta-Tab - -Summary: -Commit 174aa217180434ab93b899d9c7cf967bd2daff7e created a new -issue where the activity switcher would not hide anymore when -switching activities with the Meta-Tab global shortcut and -releasing the keys under one second. - -This patch fixes this by unconditionnal toggling the activity -switcher visibility if it should be hidden, but keeping the -timestamp condition before showing it, so that both Meta-q and -Meta-Tab behaves correctly. - -BUG: 393912 - -Reviewers: mart, ngraham - -Reviewed By: mart, ngraham - -Subscribers: ngraham, plasma-devel - -Tags: #plasma - -Differential Revision: https://phabricator.kde.org/D13012 ---- - desktoppackage/contents/views/Desktop.qml | 13 ++++++------- - 1 file changed, 6 insertions(+), 7 deletions(-) - -diff --git a/desktoppackage/contents/views/Desktop.qml b/desktoppackage/contents/views/Desktop.qml -index 3272a89..3539050 100644 ---- a/desktoppackage/contents/views/Desktop.qml -+++ b/desktoppackage/contents/views/Desktop.qml -@@ -73,17 +73,16 @@ Item { - property int lastToggleActivityManagerTimestamp: 0 - - function toggleActivityManager() { -- var currentTimestamp = new Date().getTime() / 1000; -+ if (sidePanelStack.state == "activityManager") { -+ sidePanelStack.state = "closed"; -+ } else { -+ var currentTimestamp = new Date().getTime() / 1000; - -- if (currentTimestamp - lastToggleActivityManagerTimestamp > 1) { -- if (sidePanelStack.state == "activityManager") { -- sidePanelStack.state = "closed"; -- } else { -+ if (currentTimestamp - lastToggleActivityManagerTimestamp > 1) { - sidePanelStack.state = "activityManager"; - sidePanelStack.setSource(Qt.resolvedUrl("../activitymanager/ActivityManager.qml")) -+ lastToggleActivityManagerTimestamp = currentTimestamp; - } -- -- lastToggleActivityManagerTimestamp = currentTimestamp; - } - } - --- -cgit v0.11.2 - diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-kickersearch-nav.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-kickersearch-nav.patch deleted file mode 100644 index 75b5bc27b2ae..000000000000 --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-kickersearch-nav.patch +++ /dev/null @@ -1,87 +0,0 @@ -From 1692ae244bc5229df78df2d5ba2e76418362cb50 Mon Sep 17 00:00:00 2001 -From: Eike Hein <hein@kde.org> -Date: Wed, 5 Sep 2018 18:58:35 +0900 -Subject: Improve arrow key navigation of Kicker search results - -Summary: -Kicker already makes sure the first search result is highlighted -and actionable while searching. This patch makes arrow-down after -typing move to the second search result instead of merely moving -focus from the search field to the list, so the user doesn't have -to press arrow-down twice anymore. - -It also allows using arrow-left/right to jump to the other result -columns, when the cursor is at the start or end of the text field, -respectively. - -BUG:397779 - -Reviewers: ngraham - -Subscribers: plasma-devel - -Tags: #plasma - -Differential Revision: https://phabricator.kde.org/D15286 ---- - .../package/contents/ui/MenuRepresentation.qml | 20 +++++++++++++++++++- - .../kicker/package/contents/ui/RunnerResultsList.qml | 1 + - 2 files changed, 20 insertions(+), 1 deletion(-) - -diff --git a/applets/kicker/package/contents/ui/MenuRepresentation.qml b/applets/kicker/package/contents/ui/MenuRepresentation.qml -index b70b76b..58cbf8d 100644 ---- a/applets/kicker/package/contents/ui/MenuRepresentation.qml -+++ b/applets/kicker/package/contents/ui/MenuRepresentation.qml -@@ -393,7 +393,7 @@ FocusScope { - } else if (event.key == Qt.Key_Down) { - if (rootList.visible) { - rootList.showChildDialogs = false; -- rootList.currentIndex = 0; -+ rootList.currentIndex = Math.min(1, rootList.count); - rootList.forceActiveFocus(); - rootList.showChildDialogs = true; - } -@@ -402,11 +402,29 @@ FocusScope { - for (var i = 0; i < runnerModel.count; ++i) { - if (runnerModel.modelForRow(i).count) { - var targetList = runnerColumnsRepeater.itemAt(i); -+ targetList.currentIndex = Math.min(1, targetList.count); -+ targetList.forceActiveFocus(); -+ break; -+ } -+ } -+ } -+ } else if (event.key == Qt.Key_Left && cursorPosition == 0) { -+ for (var i = runnerModel.count; i >= 0; --i) { -+ if (runnerModel.modelForRow(i).count) { -+ var targetList = runnerColumnsRepeater.itemAt(i); - targetList.currentIndex = 0; - targetList.forceActiveFocus(); - break; - } - } -+ } else if (event.key == Qt.Key_Right && cursorPosition == length) { -+ for (var i = 1; i < runnerModel.count; ++i) { -+ if (runnerModel.modelForRow(i).count) { -+ var targetList = runnerColumnsRepeater.itemAt(i); -+ targetList.currentIndex = 0; -+ targetList.forceActiveFocus(); -+ break; -+ } - } - } else if (event.key == Qt.Key_Enter || event.key == Qt.Key_Return) { - if (runnerColumns.visible && runnerModel.modelForRow(0).count) { -diff --git a/applets/kicker/package/contents/ui/RunnerResultsList.qml b/applets/kicker/package/contents/ui/RunnerResultsList.qml -index 3627c2f..4e6dc2f 100644 ---- a/applets/kicker/package/contents/ui/RunnerResultsList.qml -+++ b/applets/kicker/package/contents/ui/RunnerResultsList.qml -@@ -30,6 +30,7 @@ FocusScope { - signal keyNavigationAtListEnd - - property alias currentIndex: runnerMatches.currentIndex -+ property alias count: runnerMatches.count - property alias containsMouse: runnerMatches.containsMouse - - Accessible.name: header.text --- -cgit v0.11.2 diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-libinput-kcm-ignore-touchpads.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-libinput-kcm-ignore-touchpads.patch deleted file mode 100644 index 76b3e1b0f3ed..000000000000 --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-libinput-kcm-ignore-touchpads.patch +++ /dev/null @@ -1,139 +0,0 @@ -From a4c724173b5c6a59331587f2e5db746dffbabdc6 Mon Sep 17 00:00:00 2001 -From: Roman Gilg <subdiff@gmail.com> -Date: Tue, 4 Sep 2018 00:15:18 +0200 -Subject: [Mouse KCM] Avoid changes to touchpads in libinput backend - -Summary: -Similar to evdev backend we need to ignore touchpad devices explicitly in the -libinput backend because these are also pointer devices. - -XInput2 can do this in theory via input classes, but my touchpad did not set -the class correctly. So just switch to using XInput like in the evdev backend -to query all pointer devices and then use the XI_TOUCHPAD atom to filter out -touchpads. - -BUG: 395401 -BUG: 395722 -BUG: 396269 - -Test Plan: Manually - -Reviewers: #plasma, hein - -Reviewed By: #plasma, hein - -Subscribers: acrouthamel, ngraham, plasma-devel - -Tags: #plasma - -Differential Revision: https://phabricator.kde.org/D15256 ---- - .../backends/x11/x11_libinput_dummydevice.cpp | 32 ++++++++++++++-------- - 1 file changed, 20 insertions(+), 12 deletions(-) - -diff --git a/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp b/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp -index 6efca42..7ec314b 100644 ---- a/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp -+++ b/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp -@@ -20,24 +20,28 @@ - - #include <libinput-properties.h> - --#include <X11/Xlib.h> - #include <X11/Xatom.h> - #include <X11/extensions/XInput2.h> -+#include <X11/extensions/XInput.h> -+ -+static Atom s_touchpadAtom; - - template<typename Callback> --static void XI2ForallPointerDevices(Display* dpy, const Callback& callback) -+static void XIForallPointerDevices(Display* dpy, const Callback& callback) - { - int ndevices_return; -- XIDeviceInfo* info = XIQueryDevice(dpy, XIAllDevices, &ndevices_return); -+ XDeviceInfo *info = XListInputDevices(dpy, &ndevices_return); - if (!info) { - return; - } - for (int i = 0; i < ndevices_return; ++i) { -- if ((info + i)->use == XISlavePointer) { -- callback(info + i); -+ XDeviceInfo *dev = info + i; -+ if ((dev->use == IsXPointer || dev->use == IsXExtensionPointer) && -+ dev->type != s_touchpadAtom) { -+ callback(dev); - } - } -- XIFreeDeviceInfo(info); -+ XFreeDeviceList(info); - } - - struct ScopedXDeleter { -@@ -61,7 +65,8 @@ void valueWriterPart(T val, Atom valAtom, Display *dpy) - template<> - void valueWriterPart<bool>(bool val, Atom valAtom, Display *dpy) - { -- XI2ForallPointerDevices(dpy, [&] (XIDeviceInfo *info) { -+ XIForallPointerDevices(dpy, [&] (XDeviceInfo *info) { -+ int deviceid = info->id; - Status status; - Atom type_return; - int format_return; -@@ -70,7 +75,7 @@ void valueWriterPart<bool>(bool val, Atom valAtom, Display *dpy) - - unsigned char *_data = nullptr; - //data returned is an 1 byte boolean -- status = XIGetProperty(dpy, info->deviceid, valAtom, 0, 1, -+ status = XIGetProperty(dpy, deviceid, valAtom, 0, 1, - False, XA_INTEGER, &type_return, &format_return, - &num_items_return, &bytes_after_return, &_data); - if (status != Success) { -@@ -87,7 +92,7 @@ void valueWriterPart<bool>(bool val, Atom valAtom, Display *dpy) - - unsigned char sendVal = val ? 1 : 0; - -- XIChangeProperty(dpy, info->deviceid, valAtom, XA_INTEGER, -+ XIChangeProperty(dpy, deviceid, valAtom, XA_INTEGER, - 8, XIPropModeReplace, &sendVal, 1); - - }); -@@ -96,7 +101,8 @@ void valueWriterPart<bool>(bool val, Atom valAtom, Display *dpy) - template<> - void valueWriterPart<qreal>(qreal val, Atom valAtom, Display *dpy) - { -- XI2ForallPointerDevices(dpy, [&] (XIDeviceInfo *info) { -+ XIForallPointerDevices(dpy, [&] (XDeviceInfo *info) { -+ int deviceid = info->id; - Status status; - Atom float_type = XInternAtom (dpy, "FLOAT", False); - Atom type_return; -@@ -106,7 +112,7 @@ void valueWriterPart<qreal>(qreal val, Atom valAtom, Display *dpy) - - unsigned char *_data = nullptr; - //data returned is an 1 byte boolean -- status = XIGetProperty(dpy, info->deviceid, valAtom, 0, 1, -+ status = XIGetProperty(dpy, deviceid, valAtom, 0, 1, - False, float_type, &type_return, &format_return, - &num_items_return, &bytes_after_return, &_data); - if (status != Success) { -@@ -125,7 +131,7 @@ void valueWriterPart<qreal>(qreal val, Atom valAtom, Display *dpy) - float *sendPtr = (float*)buffer; - *sendPtr = val; - -- XIChangeProperty(dpy, info->deviceid, valAtom, float_type, -+ XIChangeProperty(dpy, deviceid, valAtom, float_type, - format_return, XIPropModeReplace, buffer, 1); - - }); -@@ -161,6 +167,8 @@ X11LibinputDummyDevice::X11LibinputDummyDevice(QObject *parent, Display *dpy) - - m_supportsNaturalScroll.val = true; - m_naturalScrollEnabledByDefault.val = false; -+ -+ s_touchpadAtom = XInternAtom(m_dpy, XI_TOUCHPAD, True); - } - - X11LibinputDummyDevice::~X11LibinputDummyDevice() --- -cgit v0.11.2 |