From bcceb94603a6ac934a604f979f35f368e39c094a Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Sun, 22 Sep 2019 02:22:22 +0200 Subject: [PATCH] Hotfix the startup orientation on the Kobo Libra (#5409) --- base | 2 +- frontend/device/kobo/device.lua | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/base b/base index 0019d032c..feac06d12 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit 0019d032c8993b47ab25b4f66a028149da824794 +Subproject commit feac06d12bcf49dca180e650e1c811a50950ee9a diff --git a/frontend/device/kobo/device.lua b/frontend/device/kobo/device.lua index 9c9b63ab4..1bbd0b57f 100644 --- a/frontend/device/kobo/device.lua +++ b/frontend/device/kobo/device.lua @@ -34,6 +34,9 @@ local Kobo = Generic:new{ -- most Kobos have also mirrored X coordinates touch_mirrored_x = true, -- enforce portrait mode on Kobos + --- @note: In practice, the check that is used for in ffi/framebuffer is no longer relevant, + --- since, in almost every case, we enforce a hardware Portrait rotation via fbdepth on startup by default ;). + --- We still want to keep it in case an unfortunate soul on an older device disables the bitdepth switch... isAlwaysPortrait = yes, -- we don't need an extra refreshFull on resume, thank you very much. needsScreenRefreshAfterResume = no,