1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-27 14:50:21 +03:00

fix #351,use correct screenGeometry at task filter

--this fixes screen filtering for tasks but we
should investigate further in the future how
to support correct plasmoid.screenGeometry
This commit is contained in:
Michail Vourlakos 2017-04-03 16:26:46 +03:00
parent e3a114e1e2
commit 17c5eb5ee6
2 changed files with 3 additions and 1 deletions

View File

@ -192,6 +192,8 @@ DragDrop.DropArea {
property int durationTime: plasmoid.configuration.durationTime
property int latteAppletHoveredIndex: latteApplet ? latteApplet.hoveredIndex : -1
property int tasksCount: latteApplet ? latteApplet.tasksCount : 0
property rect screenGeometry: dock ? dock.screenGeometry : plasmoid.screenGeometry
///END properties from latteApplet
/* Layout.preferredWidth: plasmoid.immutable ?

View File

@ -393,7 +393,7 @@ Item {
id: tasksModel
virtualDesktop: virtualDesktopInfo.currentDesktop
screenGeometry: plasmoid.screenGeometry
screenGeometry: latteDock ? latteDock.screenGeometry : plasmoid.screenGeometry
// comment in order to support LTS Plasma 5.8
// screen: plasmoid.screen
activity: activityInfo.currentActivity