effects/private: Raise currently dragged window higher than anything

BUG: 456936
FIXED-IN: 5.25.4 5.26
This commit is contained in:
ivan tkachenko 2022-07-27 03:50:50 +03:00
parent 074fed313b
commit 54917f038e
No known key found for this signature in database
GPG key ID: AF72731B7C654CB3

View file

@ -70,7 +70,8 @@ Item {
}
visible: opacity > 0
z: thumb.activeDragHandler.active ? 100 : client.stackingOrder + (thumb.client.desktop == KWinComponents.Workspace.currentDesktop ? 100 : 0)
z: thumb.activeDragHandler.active ? 1000
: client.stackingOrder + (thumb.client.desktop == KWinComponents.Workspace.currentDesktop ? 100 : 0)
component TweenBehavior : Behavior {
enabled: thumb.state !== "partial" && thumb.windowHeap.animationEnabled && !thumb.activeDragHandler.active