mirror of
https://github.com/britzl/monarch.git
synced 2025-06-27 10:27:49 +02:00
Wrong logging of input focus actions
This commit is contained in:
parent
9ab73567f8
commit
ebc1d09c21
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user