Skip to content

Commit

Permalink
fix: cursor display abnormality
Browse files Browse the repository at this point in the history
when there is no drm, the cursor is the native
Xorg or Wayland compositor rendering display.

Log: fixed rendering one more cursor
Issue: #265
  • Loading branch information
zzxyb authored and deepin-bot[bot] committed May 27, 2024
1 parent 917081d commit 3487ac9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/treeland/quick/qml/Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ Item {
id: backend

onOutputAdded: function(output) {
if (!backend.hasDrm)
output.forceSoftwareCursor = true // Test

Helper.allowNonDrmOutputAutoChangeMode(output)
QmlHelper.outputManager.add({waylandOutput: output})
outputManagerV1.newOutput(output)
Expand Down

0 comments on commit 3487ac9

Please sign in to comment.