monitor: Allow DPI connectors to be built-in displays

Needed for the Pinenote built-in display to be detected by Mutter
https://pine64.org/devices/pinenote/

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3067>
This commit is contained in:
Petr Hodina
2024-03-13 11:58:50 +01:00
committed by Marge Bot
parent 8002919f7b
commit e2b42cdfd9
3 changed files with 4 additions and 0 deletions

View File

@ -402,6 +402,7 @@ meta_monitor_is_laptop_panel (MetaMonitor *monitor)
case META_CONNECTOR_TYPE_eDP:
case META_CONNECTOR_TYPE_LVDS:
case META_CONNECTOR_TYPE_DSI:
case META_CONNECTOR_TYPE_DPI:
return TRUE;
default:
return FALSE;