3
0
mirror of https://github.com/britzl/monarch.git synced 2025-06-27 18:37:46 +02:00

Wrong logging of input focus actions

This commit is contained in:
Björn Ritzl 2019-08-01 06:16:54 +02:00
parent 9ab73567f8
commit ebc1d09c21

View File

@ -225,7 +225,7 @@ function M.unregister(id)
end end
local function acquire_input(screen) local function acquire_input(screen)
log("change_context()", screen.id) log("acquire_input()", screen.id)
if not screen.input then if not screen.input then
if screen.proxy then if screen.proxy then
msg.post(screen.script, ACQUIRE_INPUT_FOCUS) msg.post(screen.script, ACQUIRE_INPUT_FOCUS)
@ -239,7 +239,7 @@ local function acquire_input(screen)
end end
local function release_input(screen) local function release_input(screen)
log("change_context()", screen.id) log("release_input()", screen.id)
if screen.input then if screen.input then
if screen.proxy then if screen.proxy then
msg.post(screen.script, RELEASE_INPUT_FOCUS) msg.post(screen.script, RELEASE_INPUT_FOCUS)