diff --git a/options.cpp b/options.cpp --- a/options.cpp +++ b/options.cpp @@ -31,7 +31,6 @@ #include "screens.h" #include "settings.h" -#include "xcbutils.h" #include #include @@ -67,10 +66,6 @@ } } rate = qRound(Screens::self()->refreshRate(syncScreen)); // TODO forward float precision? - } else if (Xcb::Extensions::self()->isRandrAvailable()) { - // last restort - query XRandR screenInfo rate - probably wrong on nvidia systems - Xcb::RandR::ScreenInfo screenInfo(rootWindow()); - rate = screenInfo->rate; } // 0Hz or less is invalid, so we fallback to a default rate