mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 11:39:49 +01:00
drm: don't report pointer capability when no HW cursor plane is present
ref https://github.com/hyprwm/Hyprland/issues/7364
This commit is contained in:
parent
05f4efca81
commit
cd152140fd
1 changed files with 2 additions and 0 deletions
|
@ -835,6 +835,8 @@ bool Aquamarine::CDRMBackend::dispatchEvents() {
|
|||
}
|
||||
|
||||
uint32_t Aquamarine::CDRMBackend::capabilities() {
|
||||
if (getCursorFormats().empty())
|
||||
return 0;
|
||||
return eBackendCapabilities::AQ_BACKEND_CAPABILITY_POINTER;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue