Move Screenshot inside window module
This commit is contained in:
parent
93673836cd
commit
5ae726e02c
7 changed files with 13 additions and 10 deletions
|
|
@ -19,7 +19,7 @@ use crate::graphics::compositor::{self, Compositor};
|
|||
use crate::runtime::clipboard;
|
||||
use crate::runtime::program::Program;
|
||||
use crate::runtime::user_interface::{self, UserInterface};
|
||||
use crate::runtime::{Command, Debug, Screenshot};
|
||||
use crate::runtime::{Command, Debug};
|
||||
use crate::style::application::{Appearance, StyleSheet};
|
||||
use crate::{Clipboard, Error, Proxy, Settings};
|
||||
|
||||
|
|
@ -819,7 +819,7 @@ pub fn run_command<A, C, E>(
|
|||
);
|
||||
|
||||
proxy
|
||||
.send_event(tag(Screenshot::new(
|
||||
.send_event(tag(window::Screenshot::new(
|
||||
bytes,
|
||||
state.physical_size(),
|
||||
)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue