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

Vlad Zahorodnii noreply at phabricator.kde.org
Mon Nov 18 07:42:21 GMT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191118/6f853e3e/attachment-0001.html>


More information about the kwin mailing list