diff options
| author | Christian Meissl <meissl.christian@gmail.com> | 2024-01-24 20:59:48 +0100 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-01-25 07:49:51 +0400 |
| commit | 5f99eb13ab3e26f860a858b52129ce6227441e35 (patch) | |
| tree | 30c30d9e1e6c48ae6650915f7953f3b8161db370 /src/backend/tty.rs | |
| parent | 20326b093c57bed7a3e423a16c202a69d3ad8c09 (diff) | |
| download | niri-5f99eb13ab3e26f860a858b52129ce6227441e35.tar.gz niri-5f99eb13ab3e26f860a858b52129ce6227441e35.tar.bz2 niri-5f99eb13ab3e26f860a858b52129ce6227441e35.zip | |
Remove hack for fixed EGLDisplay issue
Diffstat (limited to 'src/backend/tty.rs')
| -rw-r--r-- | src/backend/tty.rs | 6 |
1 files changed, 0 insertions, 6 deletions
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")?; |
