Skip to content

Commit

Permalink
drm: don't report pointer capability when no HW cursor plane is present
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Aug 17, 2024
1 parent 05f4efc commit cd15214
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/drm/DRM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,8 @@ bool Aquamarine::CDRMBackend::dispatchEvents() {
}

uint32_t Aquamarine::CDRMBackend::capabilities() {
if (getCursorFormats().empty())
return 0;
return eBackendCapabilities::AQ_BACKEND_CAPABILITY_POINTER;
}

Expand Down

0 comments on commit cd15214

Please sign in to comment.