From 5f99eb13ab3e26f860a858b52129ce6227441e35 Mon Sep 17 00:00:00 2001 From: Christian Meissl Date: Wed, 24 Jan 2024 20:59:48 +0100 Subject: Remove hack for fixed EGLDisplay issue --- src/backend/tty.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/backend/tty.rs b/src/backend/tty.rs index d5c51d96..85e3c998 100644 --- a/src/backend/tty.rs +++ b/src/backend/tty.rs @@ -370,12 +370,6 @@ impl Tty { let display = unsafe { EGLDisplay::new(gbm.clone())? }; let egl_device = EGLDevice::device_for_display(&display)?; - // HACK: There's an issue in Smithay where the display created by GpuManager will be the - // same as the one we just created here, so when ours is dropped at the end of the scope, - // it will also close the long-lived display in GpuManager. Thus, we need to drop ours - // beforehand. - drop(display); - let render_node = egl_device .try_get_render_node()? .context("no render node")?; -- cgit