mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Cleanup X11 and XRANDR Macros
This fixes build with X11 enabled and XRANDR disabled.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user