mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Implement clicking on tab to switch
This commit is contained in:
+3
-1
@@ -658,7 +658,9 @@ impl<W: LayoutElement> Tile<W> {
|
||||
let win_pos = self.buf_loc();
|
||||
Some(HitType::Input { win_pos })
|
||||
} else if self.is_in_activation_region(point) {
|
||||
Some(HitType::Activate)
|
||||
Some(HitType::Activate {
|
||||
is_tab_indicator: false,
|
||||
})
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user