aboutsummaryrefslogtreecommitdiff
path: root/src/Overlay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Overlay.cpp')
-rw-r--r--src/Overlay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp
index 720bb2e..2475a77 100644
--- a/src/Overlay.cpp
+++ b/src/Overlay.cpp
@@ -1436,7 +1436,7 @@ namespace gsr {
mgl_context *context = mgl_get_context();
Display *display = (Display*)context->connection;
- if(is_compositor_running(display, 0))
+ if(gsr_info.system_info.display_server != DisplayServer::X11 || is_compositor_running(display, 0))
return false;
bool window_texture_loaded = false;