aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/input/pick_color_grab.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/input/pick_color_grab.rs b/src/input/pick_color_grab.rs
index 1d79f68f..295d7c80 100644
--- a/src/input/pick_color_grab.rs
+++ b/src/input/pick_color_grab.rs
@@ -12,7 +12,7 @@ use smithay::input::SeatHandler;
use smithay::utils::{Logical, Physical, Point, Scale, Size, Transform};
use crate::niri::State;
-use crate::render_helpers::render_to_vec;
+use crate::render_helpers::{render_to_vec, RenderTarget};
pub struct PickColorGrab {
start_data: PointerGrabStartData<State>,
@@ -52,7 +52,8 @@ impl PickColorGrab {
renderer,
&output,
false,
- crate::render_helpers::RenderTarget::ScreenCapture,
+ // This is an interactive operation so we can render without blocking out.
+ RenderTarget::Output,
);
let pixels = match render_to_vec(