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
pull/1/head
Michail Vourlakos 8 years ago
parent 517936afee
commit a6b767d65a

@ -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 ?

@ -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

Loading…
Cancel
Save