1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00

Merge pull request #994 from absolutelynothelix/ensure_glx_context_segfault

This commit is contained in:
Yuxuan Shui 2023-01-13 16:55:41 +00:00 committed by GitHub
commit 1926b6d231
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,7 +159,7 @@ static inline bool ensure_glx_context(session_t *ps) {
if (!glx_has_context(ps))
glx_init(ps, false);
return ps->psglx->context;
return glx_has_context(ps);
}
/**