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