From 7aca5ee1192b45d05a601946a5c784b8c5bd61bd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 20 Jul 2023 11:54:52 +0200 Subject: Assume that all modern X servers have a unified display area Change-Id: I704e6147085b2eca7fc6fd93261aced3e04b2fff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154667 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/dlg/present.cxx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'sd/source/ui') diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx index a2c39f4e4fed..df7089e25405 100644 --- a/sd/source/ui/dlg/present.cxx +++ b/sd/source/ui/dlg/present.cxx @@ -191,7 +191,6 @@ void SdStartPresentationDlg::InitMonitorSettings() } else { - bool bUnifiedDisplay = Application::IsUnifiedDisplay(); sal_Int32 nExternalIndex = Application::GetDisplayExternalScreen(); sal_Int32 nSelectedIndex (-1); @@ -225,12 +224,9 @@ void SdStartPresentationDlg::InitMonitorSettings() nDefaultExternalIndex = nInsertedEntry; } - if( bUnifiedDisplay ) - { - nInsertedEntry = InsertDisplayEntry( m_xAllMonitors->get_label(), -1 ); - if( nDefaultSelectedDisplay == -1 ) - nSelectedIndex = nInsertedEntry; - } + nInsertedEntry = InsertDisplayEntry( m_xAllMonitors->get_label(), -1 ); + if( nDefaultSelectedDisplay == -1 ) + nSelectedIndex = nInsertedEntry; if (nSelectedIndex < 0) { -- cgit