Skip to content

Commit

Permalink
fix: dragIcon not show when use hardware cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
wineee authored and justforlxz committed Jan 12, 2024
1 parent 00aada2 commit 4ee298d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/treeland/quick/qml/OutputDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ OutputItem {
cursorDelegate: Item {
required property OutputCursor cursor

visible: cursor.visible && !cursor.isHardwareCursor
visible: cursor.visible

Image {
id: cursorImage
visible: !cursor.isHardwareCursor
source: cursor.imageSource
x: -cursor.hotspot.x
y: -cursor.hotspot.y
Expand Down

0 comments on commit 4ee298d

Please sign in to comment.