This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository e16.
View the commit online.
commit 711e66fb863318855e2da41fcce17ca64a5d2326
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Fri Sep 22 18:29:53 2023 +0200
CM: Check if root subwindow redirection succeeds
Disable compositing if not.
If we ignore that the redirection does not succeed e16 will behave
badly.
---
src/ecompmgr.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/ecompmgr.c b/src/ecompmgr.c
index cc866819..1229d2e2 100644
--- a/src/ecompmgr.c
+++ b/src/ecompmgr.c
@@ -2196,6 +2196,9 @@ ECompMgrStart(void)
Mode_compmgr.mode = Conf_compmgr.mode;
+ ESync(0);
+ Dpy.last_error_code = 0;
+
switch (Mode_compmgr.mode)
{
case ECM_MODE_ROOT:
@@ -2216,6 +2219,14 @@ ECompMgrStart(void)
break;
}
+ ESync(0);
+ if (Dpy.last_error_code != 0)
+ {
+ Eprintf("Error: Compositing init failed\n");
+ Conf_compmgr.enable = 0;
+ return;
+ }
+
Conf_compmgr.enable = Mode_compmgr.active = 1;
Conf_compmgr.override_redirect.opacity =
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.