Move Screenshot inside window module

This commit is contained in:
Héctor Ramón Jiménez 2023-06-27 19:41:03 +02:00
parent 93673836cd
commit 5ae726e02c
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
7 changed files with 13 additions and 10 deletions

View file

@ -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(),
)))