Closed ZaWertun closed 4 years ago
KWin needs customized KWindowSystem, so build and install it first
This will be a problem...
I'm contacting the developer of that patchset to see if this can be done without patching KWindowSystem...
OK, so I think I have a strategy:
~1. Bring support for _GTK_FRAME_EXTENTS as long as you have the custom KWindowSystem installed (and if not then the compositor should still run or something)~ ~2. Test~ ~3. Add static KWindowSystem to this repo (let's hope this won't break other apps that depend on KWindowSystem)~ ~4. Test~ ~5. Release 5.16.3~
This will be harder to do than I expected as I can't get KWindowSystem to static-ize...
I'm sorry. I am too late.
@tildearrow Better late than never :) Thanks for your job :+1:
Seems to work fine for me. Patch applies cleanly and I see CSD Gtk windows drop shadows now.
If you're on Gentoo, using this is easy. Create the /etc/portage/patches/kde-plasma/kwin/
and /etc/portage/patches/kde-plasma/kwindowsystem/
directories. Then.copy kwin/0001-Implement-_GTK_FRAME_EXTENTS.patch
to /etc/portage/patches/kde-plasma/kwin/
and kwindowsystem/0001-Implement-_GTK_FRAME_EXTENTS.patch
to /etc/portage/patches/kde-frameworks/kwindowsystem/
.
Now just install these two packages again with emerge -1 kwindowsystem kwin
and restart kwin with kwin_x11 --replace &
.
_GTK_FRAME_EXTENTS support will be merged to the kwin. http://phabricator.kde.org/D24660
Just read article on reddit that someone added support for _GTK_FRAME_EXTENTS in kwin. Could you merge this patch in kwin-lowlatency? It will be awesome :)
There is some info: reddit: KWin with _GTK_FRAME_EXTENTS support (sick!) gihub: KWin/X11 that can do _GTK_FRAME_EXTENTS