diff options
author | Mike Gorse <mgorse@suse.com> | 2021-01-27 16:41:39 -0600 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2021-01-27 16:41:39 -0600 |
commit | c6b2af03425bacfef25b08f4730d6f7628743681 (patch) | |
tree | 1d0a9c6486a1d26a9894382b809f8f219994c9e5 /atspi/atspi-device.c | |
parent | 47831726d956169369536ff610f54173fda5bc14 (diff) | |
download | at-spi2-core-c6b2af03425bacfef25b08f4730d6f7628743681.tar.gz |
Device fixes
Diffstat (limited to 'atspi/atspi-device.c')
-rw-r--r-- | atspi/atspi-device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/atspi/atspi-device.c b/atspi/atspi-device.c index abf6138d..5f62dc3c 100644 --- a/atspi/atspi-device.c +++ b/atspi/atspi-device.c @@ -99,9 +99,8 @@ atspi_device_class_init (AtspiDeviceClass *klass) AtspiDevice * atspi_device_new () { - //if (!g_getenv ("WAYLAND_DISPLAY") && !g_getenv ("ATSPI_USE_LEGACY_DEVICE")) #ifdef HAVE_X11 - if (!g_getenv ("ATSPI_USE_LEGACY_DEVICE")) + if (!g_getenv ("WAYLAND_DISPLAY") && !g_getenv ("ATSPI_USE_LEGACY_DEVICE")) return ATSPI_DEVICE (atspi_device_x11_new ()); #endif |