aboutsummaryrefslogtreecommitdiff
path: root/src/layout/mod.rs
diff options
context:
space:
mode:
authorTheZoq2 <frans.skarman@protonmail.com>2024-04-22 22:51:52 +0200
committerIvan Molodetskikh <yalterz@gmail.com>2024-05-11 10:42:49 +0400
commit47a8e75fd585e351dd2846a58152a7766403ca11 (patch)
treebf8b53c9befcb935a9a228a09db8649d58ba7751 /src/layout/mod.rs
parent6d9cfe28823e88df68f172496c928bd366777ad1 (diff)
downloadniri-47a8e75fd585e351dd2846a58152a7766403ca11.tar.gz
niri-47a8e75fd585e351dd2846a58152a7766403ca11.tar.bz2
niri-47a8e75fd585e351dd2846a58152a7766403ca11.zip
Add is_active_in_column
Add missing ``` Fix tests
Diffstat (limited to 'src/layout/mod.rs')
-rw-r--r--src/layout/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs
index 75f6cd4c..0cb8e493 100644
--- a/src/layout/mod.rs
+++ b/src/layout/mod.rs
@@ -152,6 +152,7 @@ pub trait LayoutElement {
fn output_leave(&self, output: &Output);
fn set_offscreen_element_id(&self, id: Option<Id>);
fn set_activated(&mut self, active: bool);
+ fn set_active_in_column(&mut self, active: bool);
fn set_bounds(&self, bounds: Size<i32, Logical>);
fn send_pending_configure(&mut self);
@@ -2190,6 +2191,8 @@ mod tests {
fn send_pending_configure(&mut self) {}
+ fn set_active_in_column(&mut self, _active: bool) {}
+
fn is_fullscreen(&self) -> bool {
false
}