Don't set viewport for 1x1 windows with scaling

This commit is contained in:
Shawn Wallace 2025-04-13 23:50:13 -04:00
parent 555f9492ad
commit 0cd5059c42
5 changed files with 106 additions and 49 deletions

View file

@ -783,7 +783,8 @@ fn input_focus() {
long_offset: 0,
long_length: 1,
})
.value::<u32>().first()
.value::<u32>()
.first()
.and_then(|state| WmState::try_from(*state).ok()),
Some(WmState::Normal)
);