forked from KDE/breeze
-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround for EGL_BAD_SURFACE segfaults introduced with Plasma 5.26+
KDE Plasma 5.26 introduced a change whereby an EGL_BAD_SURFACE error would result in a segfault when using Klassy when opening certain applications (mainly those applications with custom colour schemes). The EGL_BAD_SURFACE was caused by a shadow being created at the same time as the paint() function execution, due to a paletteChanged signal. This workaround checks if paint() is under execution before shadow creation, and aborts the shadow update if this is the case.
- Loading branch information
1 parent
fe2fd6e
commit 972edd0
Showing
4 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters