File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -834,7 +834,7 @@ impl<'a> KmsGuard<'a> {
834834 let driver = drm. device ( ) . get_driver ( ) . ok ( ) ;
835835
836836 // QUIRK: Using an overlay plane on a nvidia card breaks the display controller (wtf...)
837- if driver. is_some_and ( |driver| {
837+ if driver. as_ref ( ) . is_some_and ( |driver| {
838838 driver
839839 . name ( )
840840 . to_string_lossy ( )
@@ -843,6 +843,17 @@ impl<'a> KmsGuard<'a> {
843843 } ) {
844844 planes. overlay = vec ! [ ] ;
845845 }
846+ // QUIRK: Cursor planes on evdi sometimes don't disappear correctly.
847+ // TODO: Debug and figure out, as they can be a nice improvement.
848+ if driver. as_ref ( ) . is_some_and ( |driver| {
849+ driver
850+ . name ( )
851+ . to_string_lossy ( )
852+ . to_lowercase ( )
853+ . contains ( "evdi" )
854+ } ) {
855+ planes. cursor = vec ! [ ] ;
856+ }
846857
847858 let mut renderer = self
848859 . api
You can’t perform that action at this time.
0 commit comments