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:
parent
e3a114e1e2
commit
17c5eb5ee6
@ -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…
x
Reference in New Issue
Block a user