cargo fmt
This commit is contained in:
parent
5e9ea93819
commit
b6c5d00bec
17 changed files with 264 additions and 277 deletions
|
|
@ -37,7 +37,8 @@ mod handlers;
|
|||
pub fn head_is_enabled(output: &Output) -> bool {
|
||||
output
|
||||
.user_data()
|
||||
.get::<OutputState>().is_some_and(|inner| inner.lock().unwrap().enabled)
|
||||
.get::<OutputState>()
|
||||
.is_some_and(|inner| inner.lock().unwrap().enabled)
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
|
|||
|
|
@ -800,7 +800,9 @@ where
|
|||
_dhandle: &DisplayHandle,
|
||||
data_init: &mut DataInit<'_, D>,
|
||||
) {
|
||||
if let ext_image_copy_capture_cursor_session_v1::Request::GetCaptureSession { session } = request {
|
||||
if let ext_image_copy_capture_cursor_session_v1::Request::GetCaptureSession { session } =
|
||||
request
|
||||
{
|
||||
let new_data = CursorSessionData {
|
||||
inner: data.inner.clone(),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue