mirror of
https://github.com/britzl/monarch.git
synced 2025-11-26 19:00:53 +01:00
Wrong logging of input focus actions
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user