From 064f2532d6c11a5f13c912a998c5d18b4ca308a2 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Wed, 23 Oct 2024 14:29:21 +0200 Subject: [PATCH] rename capturer file to wayland, it will autodetect protocols --- src/frame/capturer/mod.rs | 2 +- .../capturer/{wlr_export_dmabuf_unstable_v1.rs => wayland.rs} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/frame/capturer/{wlr_export_dmabuf_unstable_v1.rs => wayland.rs} (100%) diff --git a/src/frame/capturer/mod.rs b/src/frame/capturer/mod.rs index bf34081..4dae15b 100644 --- a/src/frame/capturer/mod.rs +++ b/src/frame/capturer/mod.rs @@ -1,7 +1,7 @@ use crate::predictor::Controller; pub mod none; -pub mod wlr_export_dmabuf_unstable_v1; +pub mod wayland; pub trait Capturer { fn run(&mut self, output_name: &str, controller: Controller); diff --git a/src/frame/capturer/wlr_export_dmabuf_unstable_v1.rs b/src/frame/capturer/wayland.rs similarity index 100% rename from src/frame/capturer/wlr_export_dmabuf_unstable_v1.rs rename to src/frame/capturer/wayland.rs