aboutsummaryrefslogtreecommitdiff
path: root/src/screenshot_ui.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-01-07 09:07:22 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-01-07 09:28:14 +0400
commit64c41fa2c8853aefc8f62bf9492043a6c25b8c8f (patch)
treece7e5d6dfd02b844e0c2d8f91e13348ea8e4c3ae /src/screenshot_ui.rs
parent4e0aa391137a53180783ab3d2d0ff0cc6311b23b (diff)
downloadniri-64c41fa2c8853aefc8f62bf9492043a6c25b8c8f.tar.gz
niri-64c41fa2c8853aefc8f62bf9492043a6c25b8c8f.tar.bz2
niri-64c41fa2c8853aefc8f62bf9492043a6c25b8c8f.zip
Move config into a separate crate
Get miette and knuffel deps contained within.
Diffstat (limited to 'src/screenshot_ui.rs')
-rw-r--r--src/screenshot_ui.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screenshot_ui.rs b/src/screenshot_ui.rs
index 2233d400..57993800 100644
--- a/src/screenshot_ui.rs
+++ b/src/screenshot_ui.rs
@@ -5,6 +5,7 @@ use std::mem;
use anyhow::Context;
use arrayvec::ArrayVec;
+use niri_config::Action;
use smithay::backend::allocator::Fourcc;
use smithay::backend::input::{ButtonState, MouseButton};
use smithay::backend::renderer::element::solid::{SolidColorBuffer, SolidColorRenderElement};
@@ -18,7 +19,6 @@ use smithay::output::{Output, WeakOutput};
use smithay::utils::{Buffer, Physical, Point, Rectangle, Scale, Size, Transform};
use crate::backend::tty::{TtyFrame, TtyRenderer, TtyRendererError};
-use crate::config::Action;
use crate::render_helpers::PrimaryGpuTextureRenderElement;
const BORDER: i32 = 2;