diff options
Diffstat (limited to 'src/pw_utils.rs')
| -rw-r--r-- | src/pw_utils.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pw_utils.rs b/src/pw_utils.rs index 097cfdd7..45ccc559 100644 --- a/src/pw_utils.rs +++ b/src/pw_utils.rs @@ -112,6 +112,8 @@ impl PipeWire { let mode = output.current_mode().unwrap(); let size = mode.size; + let transform = output.current_transform(); + let size = transform.transform_size(size); let refresh = mode.refresh; let stream = Stream::new(&self.core, "niri-screen-cast-src", Properties::new()) |
