workaround attempt for cosmic desktop
This commit is contained in:
6
Cargo.lock
generated
6
Cargo.lock
generated
@@ -5270,21 +5270,19 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wlx-capture"
|
||||
version = "0.5.0"
|
||||
source = "git+https://github.com/galister/wlx-capture?tag=v0.5.0#fc77da75dcf8c9d59cdeea384da21bdab685d18b"
|
||||
version = "0.5.1"
|
||||
source = "git+https://github.com/galister/wlx-capture?tag=v0.5.1#b43eb6e1a230c13dce996d8a671e5b01fe55fc6e"
|
||||
dependencies = [
|
||||
"ashpd",
|
||||
"drm-fourcc",
|
||||
"idmap",
|
||||
"libc",
|
||||
"log",
|
||||
"once_cell",
|
||||
"pipewire",
|
||||
"rxscreen",
|
||||
"smithay-client-toolkit",
|
||||
"wayland-client",
|
||||
"wayland-protocols",
|
||||
"xcb",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
@@ -58,7 +58,7 @@ sysinfo = { version = "0.34.2" }
|
||||
thiserror = "2.0.3"
|
||||
vulkano = { version = "0.35.1" }
|
||||
vulkano-shaders = { version = "0.35.0" }
|
||||
wlx-capture = { git = "https://github.com/galister/wlx-capture", tag = "v0.5.0", default-features = false }
|
||||
wlx-capture = { git = "https://github.com/galister/wlx-capture", tag = "v0.5.1", default-features = false }
|
||||
libmonado = { git = "https://github.com/technobaboo/libmonado-rs", rev = "256895b18c8f9368174fad8a6232ff07764eeacb", optional = true }
|
||||
winit = { version = "0.30.0", optional = true }
|
||||
xdg = "2.5.2"
|
||||
|
||||
@@ -805,8 +805,12 @@ pub fn create_screens_wayland(wl: &mut WlxClientAlias, app: &mut AppState) -> Sc
|
||||
let logical_size = vec2(output.logical_size.0 as f32, output.logical_size.1 as f32);
|
||||
let transform = output.transform.into();
|
||||
let interaction = create_screen_interaction(logical_pos, logical_size, transform);
|
||||
let state =
|
||||
create_screen_state(output.name.clone(), output.size, transform, &app.session);
|
||||
let state = create_screen_state(
|
||||
output.name.clone(),
|
||||
output.logical_size,
|
||||
transform,
|
||||
&app.session,
|
||||
);
|
||||
|
||||
let meta = ScreenMeta {
|
||||
name: wl.outputs[id].name.clone(),
|
||||
|
||||
@@ -620,6 +620,7 @@ impl WayVRRenderer {
|
||||
},
|
||||
num_planes: 1,
|
||||
planes,
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
drop(wayvr);
|
||||
|
||||
Reference in New Issue
Block a user