diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-20 11:54:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-21 11:01:39 +0200 |
commit | 7aca5ee1192b45d05a601946a5c784b8c5bd61bd (patch) | |
tree | ba648476deedb0cf1943f87c801f351bf24801f6 /vcl/unx/x11 | |
parent | 4c00a5bce384c5fa3b46cf5bb29c7e9b1e506ea0 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/x11')
-rw-r--r-- | vcl/unx/x11/x11sys.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/vcl/unx/x11/x11sys.cxx b/vcl/unx/x11/x11sys.cxx index c354269b3a3d..66a5f2e70fb2 100644 --- a/vcl/unx/x11/x11sys.cxx +++ b/vcl/unx/x11/x11sys.cxx @@ -46,13 +46,6 @@ unsigned int X11SalSystem::GetDisplayScreenCount() pSalDisp->GetXScreenCount(); } -bool X11SalSystem::IsUnifiedDisplay() -{ - SalDisplay* pSalDisp = vcl_sal::getSalDisplay(GetGenericUnixSalData()); - unsigned int nScreenCount = pSalDisp->GetXScreenCount(); - return pSalDisp->IsXinerama() || (nScreenCount == 1); -} - unsigned int X11SalSystem::GetDisplayBuiltInScreen() { SalDisplay* pSalDisp = vcl_sal::getSalDisplay(GetGenericUnixSalData()); |