a11y/zoom: zoom level per output
This commit is contained in:
parent
babb96ddfa
commit
0ba0a0cdaa
11 changed files with 154 additions and 117 deletions
|
|
@ -16,7 +16,7 @@ impl A11yHandler for State {
|
|||
|
||||
if shell
|
||||
.zoom_state()
|
||||
.is_some_and(|state| state.current_level() != 1.0)
|
||||
.is_some_and(|state| shell.outputs().any(|o| state.current_level(o) != 1.0))
|
||||
!= enabled
|
||||
{
|
||||
let seat = shell.seats.last_active().clone();
|
||||
|
|
@ -29,6 +29,7 @@ impl A11yHandler for State {
|
|||
|
||||
shell.trigger_zoom(
|
||||
&seat,
|
||||
None,
|
||||
level,
|
||||
zoom_config,
|
||||
true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue