make pipewire default on wlroots
This commit is contained in:
@@ -613,9 +613,7 @@ pub fn create_screen_renderer_wl(
|
|||||||
session: &AppSession,
|
session: &AppSession,
|
||||||
) -> Option<ScreenRenderer> {
|
) -> Option<ScreenRenderer> {
|
||||||
let mut capture: Option<ScreenRenderer> = None;
|
let mut capture: Option<ScreenRenderer> = None;
|
||||||
if (&*session.config.capture_method == "auto" || &*session.config.capture_method == "dmabuf")
|
if (&*session.config.capture_method == "wlr-dmabuf") && has_wlr_dmabuf {
|
||||||
&& has_wlr_dmabuf
|
|
||||||
{
|
|
||||||
log::info!("{}: Using Wlr DMA-Buf", &output.name);
|
log::info!("{}: Using Wlr DMA-Buf", &output.name);
|
||||||
capture = ScreenRenderer::new_wlr_dmabuf(output);
|
capture = ScreenRenderer::new_wlr_dmabuf(output);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user