fmt
This commit is contained in:
@@ -519,10 +519,14 @@ where
|
|||||||
log::debug!("{name}: request pipewire stream to {req:?}");
|
log::debug!("{name}: request pipewire stream to {req:?}");
|
||||||
match req {
|
match req {
|
||||||
PwChangeRequest::Pause => {
|
PwChangeRequest::Pause => {
|
||||||
let _ = stream.set_active(false).inspect_err(|e| log::warn!("Could not {req:?} pipewire stream: {e:?}"));
|
let _ = stream
|
||||||
|
.set_active(false)
|
||||||
|
.inspect_err(|e| log::warn!("Could not {req:?} pipewire stream: {e:?}"));
|
||||||
}
|
}
|
||||||
PwChangeRequest::Resume => {
|
PwChangeRequest::Resume => {
|
||||||
let _ = stream.set_active(true).inspect_err(|e| log::warn!("Could not {req:?} pipewire stream: {e:?}"));
|
let _ = stream
|
||||||
|
.set_active(true)
|
||||||
|
.inspect_err(|e| log::warn!("Could not {req:?} pipewire stream: {e:?}"));
|
||||||
}
|
}
|
||||||
PwChangeRequest::Stop => {
|
PwChangeRequest::Stop => {
|
||||||
main_loop.quit();
|
main_loop.quit();
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ use std::time::Instant;
|
|||||||
use glam::{Affine3A, Vec2, Vec3A, Vec3Swizzles};
|
use glam::{Affine3A, Vec2, Vec3A, Vec3Swizzles};
|
||||||
|
|
||||||
use idmap_derive::IntegerId;
|
use idmap_derive::IntegerId;
|
||||||
use smallvec::{smallvec, SmallVec};
|
use smallvec::{SmallVec, smallvec};
|
||||||
use wlx_common::common::LeftRight;
|
use wlx_common::common::LeftRight;
|
||||||
use wlx_common::windowing::{OverlayWindowState, Positioning};
|
use wlx_common::windowing::{OverlayWindowState, Positioning};
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ use crate::state::{AppSession, AppState};
|
|||||||
use crate::subsystem::hid::WheelDelta;
|
use crate::subsystem::hid::WheelDelta;
|
||||||
use crate::subsystem::input::KeyboardFocus;
|
use crate::subsystem::input::KeyboardFocus;
|
||||||
use crate::windowing::manager::OverlayWindowManager;
|
use crate::windowing::manager::OverlayWindowManager;
|
||||||
use crate::windowing::window::{self, realign, OverlayWindowData};
|
use crate::windowing::window::{self, OverlayWindowData, realign};
|
||||||
use crate::windowing::{OverlayID, OverlaySelector};
|
use crate::windowing::{OverlayID, OverlaySelector};
|
||||||
|
|
||||||
use super::task::TaskType;
|
use super::task::TaskType;
|
||||||
|
|||||||
Reference in New Issue
Block a user