mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
linuxfb: is_always_portrait must be passed to screen init() from all frontends. (#6712)
This is because fb driver should not be inspecting self.device for low level caps anymore. Fixes #6711
This commit is contained in:
@@ -152,6 +152,7 @@ function Device:init()
|
||||
h = self.window.height,
|
||||
x = self.window.left,
|
||||
y = self.window.top,
|
||||
is_always_portrait = self.isAlwaysPortrait(),
|
||||
}
|
||||
self.powerd = require("device/sdl/powerd"):new{device = self}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user