diff options
| author | Norbert Lange <nolange79@gmail.com> | 2021-02-03 01:25:06 +0100 |
|---|---|---|
| committer | Norbert Lange <nolange79@gmail.com> | 2021-02-22 14:30:43 +0100 |
| commit | 29eaf09be4e9cd7fa537718466faf0c28004e08e (patch) | |
| tree | 588b20fe7e76d0582a1f4970baec48f2d90e3b39 /Source/Core/DolphinQt/MainWindow.cpp | |
| parent | b6e9cca64f41d20d6eaca46f151e2efd07ccafbf (diff) | |
Cleanup X11 and XRANDR Macros
This fixes build with X11 enabled and XRANDR disabled.
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index 20572d88b2..5e9b9b09cb 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -1463,7 +1463,7 @@ void MainWindow::UpdateScreenSaverInhibition() m_is_screensaver_inhibited = inhibit; -#if defined(HAVE_XRANDR) && HAVE_XRANDR +#ifdef HAVE_X11 if (GetWindowSystemType() == WindowSystemType::X11) UICommon::InhibitScreenSaver(winId(), inhibit); #else |
