aboutsummaryrefslogtreecommitdiff
path: root/src/window/mapped.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/window/mapped.rs')
-rw-r--r--src/window/mapped.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/window/mapped.rs b/src/window/mapped.rs
index ae5204ea..59a71044 100644
--- a/src/window/mapped.rs
+++ b/src/window/mapped.rs
@@ -49,7 +49,7 @@ pub struct Mapped {
is_focused: bool,
/// Whether this window is the active window in its column.
- pub is_active_in_column: bool,
+ is_active_in_column: bool,
/// Buffer to draw instead of the window when it should be blocked out.
block_out_buffer: RefCell<SolidColorBuffer>,
@@ -147,6 +147,10 @@ impl Mapped {
self.is_focused
}
+ pub fn is_active_in_column(&self) -> bool {
+ self.is_active_in_column
+ }
+
pub fn set_is_focused(&mut self, is_focused: bool) {
if self.is_focused == is_focused {
return;