Don't call glx_on_root_change when using new backends
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
a5c64b74ad
commit
0bd08f4ab4
|
@ -777,8 +777,9 @@ void configure_root(session_t *ps, int width, int height) {
|
||||||
|
|
||||||
#ifdef CONFIG_OPENGL
|
#ifdef CONFIG_OPENGL
|
||||||
// GLX root change callback
|
// 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);
|
glx_on_root_change(ps);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
if (ps->o.experimental_backends) {
|
if (ps->o.experimental_backends) {
|
||||||
if (has_root_change) {
|
if (has_root_change) {
|
||||||
|
@ -3010,5 +3011,3 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// vim: set et sw=2 :
|
|
||||||
|
|
Loading…
Reference in New Issue