https://bugs.kde.org/show_bug.cgi?id=406180

--- Comment #68 from Jeffery Patton <roundduckm...@gmail.com> ---
(In reply to John A from comment #67)
> (In reply to hugues31100 from comment #66)
> > (In reply to Luca Carlon from comment #65)
> > > What distro?
> > 
> > I use Manjaro
> 
> Download the KWin sources from
> https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz, edit
> the file main_x11.cpp (apply the patch
> https://phabricator.kde.org/file/data/telix5fjwmcuir3v5yxs/PHID-FILE-
> dldsuycendhh6yyimgsp/Masterwork_From_Distant_Lands) and compress the sources
> to a tar.xz.
> Edit the PKGBUILD from
> https://git.archlinux.org/svntogit/packages.git/tree/trunk/
> PKGBUILD?h=packages/kwin with your own source tar.xz (compute the sha256sum
> for it and replace the field sha256sums in your PKGBUILD).
> Then, use the edited PKGBUILD to build and install the package.
> You have to repeat the process for qtbase , look at
> https://git.archlinux.org/svntogit/packages.git/tree/trunk/
> PKGBUILD?h=packages/qt5-base.
> The patch for qtbase is:
> diff --git
> a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
> b/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
> index 4adf662152..434ea60bfb 100644
> --- a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
> +++ b/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
> @@ -601,6 +601,7 @@ void QGLXContext::doneCurrent()
>      else
>          glXMakeCurrent(m_display, 0, 0);
>      m_isPBufferCurrent = false;
> +    m_swapInterval = -1;
>  }
>  
>  void QGLXContext::swapBuffers(QPlatformSurface *surface)
> 
> If for whatever reason you cannot apply the patches, just edit theses two
> files since the patches are pretty small in size.

How about for Debian/Ubuntu/KDE Neon?

I use KDE Neon (well, not as of late partly due to this bug) and I guess many
of the steps are similar, except for the fact I'm dealing with Debian packages.
Do I like, build KWin, then use checkinstall to create a package and install
the package, or what? :/

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to