Don't call glx_on_root_change when using new backends

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-03-10 16:34:07 +00:00
parent a5c64b74ad
commit 0bd08f4ab4
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 2 additions and 3 deletions

View File

@ -777,8 +777,9 @@ void configure_root(session_t *ps, int width, int height) {
#ifdef CONFIG_OPENGL
// GLX root change callback
if (BKEND_GLX == ps->o.backend)
if (BKEND_GLX == ps->o.backend && !ps->o.experimental_backends) {
glx_on_root_change(ps);
}
#endif
if (ps->o.experimental_backends) {
if (has_root_change) {
@ -3010,5 +3011,3 @@ int main(int argc, char **argv) {
return 0;
}
// vim: set et sw=2 :