don't unfocus if mouse is not being passed through

develop
Myk Taylor 2023-01-23 18:05:03 -08:00
parent 4377065081
commit 0905943ecf
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 1 deletions

@ -761,7 +761,7 @@ function ZScreen:onInput(keys)
return
end
if keys._MOUSE_L_DOWN and not has_mouse then
if self.pass_mouse_clicks and keys._MOUSE_L_DOWN and not has_mouse then
self.defocused = true
self:sendInputToParent(keys)
return