From 52a56cfd906adb5642a0397dda6de65a2167356e Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Sat, 8 Jun 2024 08:54:07 +0900 Subject: [PATCH] more detailed screen prompt --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/overlays/screen.rs | 8 ++++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 75cfe1f..e46dfbc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4276,8 +4276,8 @@ dependencies = [ [[package]] name = "wlx-capture" -version = "0.3.9" -source = "git+https://github.com/galister/wlx-capture?tag=v0.3.10#dacce353e4a0a4778323e96540c053ffefe82bfe" +version = "0.3.11" +source = "git+https://github.com/galister/wlx-capture?tag=v0.3.11#9595185a29202d947b4420310f99a9dc2747b2e9" dependencies = [ "ashpd", "drm-fourcc", diff --git a/Cargo.toml b/Cargo.toml index f0bd930..6e48c67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,7 @@ sysinfo = { version = "0.30.0" } thiserror = "1.0.56" vulkano = { git = "https://github.com/vulkano-rs/vulkano", rev = "94f50f1" } vulkano-shaders = { git = "https://github.com/vulkano-rs/vulkano", rev = "94f50f1" } -wlx-capture = { git = "https://github.com/galister/wlx-capture", tag = "v0.3.10", default-features = false } +wlx-capture = { git = "https://github.com/galister/wlx-capture", tag = "v0.3.11", default-features = false } winit = { version = "0.29.15", optional = true } xdg = "2.5.2" log-panics = { version = "2.1.0", features = ["with-backtrace"] } diff --git a/src/overlays/screen.rs b/src/overlays/screen.rs index 2832265..013172e 100644 --- a/src/overlays/screen.rs +++ b/src/overlays/screen.rs @@ -332,6 +332,14 @@ impl ScreenRenderer { )> { let name = output.name.clone(); let embed_mouse = !session.config.double_cursor_fix; + log::info!( + "On screen share prompt, pick: {} {} {} (pos {}, {})", + &output.name, + &output.make, + &output.model, + &output.logical_pos.0, + &output.logical_pos.1, + ); let select_screen_result = futures::executor::block_on(pipewire_select_screen( token, embed_mouse,