D25300: [platforms/x11/standalone] Use intel swap events by default

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag added inline comments.

INLINE COMMENTS

> glxbackend.cpp:213
>      if (hasExtension(QByteArrayLiteral("GLX_INTEL_swap_event")) &&
> -            qgetenv("KWIN_USE_INTEL_SWAP_EVENT") == QByteArrayLiteral("1")) {
> +            qgetenv("KWIN_NO_INTEL_SWAP_EVENT") != QByteArrayLiteral("1")) {
>          m_swapEventFilter = std::make_unique<SwapEventFilter>(window, glxWindow);

Please don't introduce yet another environment variable, just check whether KWIN_USE_INTEL_SWAP_EVENT is not `"0"`.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D25300

To: romangg, #kwin
Cc: zzag, broulik, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.