Add a new disposition to _multi_screen.lua
Without the previous commit, this would make test-awful-client.lua fail. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
1332288f9d
commit
498510e810
|
@ -248,7 +248,7 @@ local dispositions = {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Corner case 2: Nothing at 0x0.
|
-- Corner case 2a: Nothing at 0x0.
|
||||||
-- As some position may fallback to 0x0 this need to be tested often. It
|
-- As some position may fallback to 0x0 this need to be tested often. It
|
||||||
-- also caused issues such as #154
|
-- also caused issues such as #154
|
||||||
{
|
{
|
||||||
|
@ -270,6 +270,13 @@ local dispositions = {
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- Corner case 2b: Still nothing at 0x0
|
||||||
|
{
|
||||||
|
function() return { x = 0, y = 32, width = 32, height = 32, } end,
|
||||||
|
function() return { x = 32, y = 0, width = 32, height = 32, } end,
|
||||||
|
function() return { x = 64, y = 16, width = 32, height = 32, } end,
|
||||||
|
},
|
||||||
|
|
||||||
-- Corner case 3: Many very small screens.
|
-- Corner case 3: Many very small screens.
|
||||||
-- On the embedded side of the compuverse, it is possible
|
-- On the embedded side of the compuverse, it is possible
|
||||||
-- to buy 32x32 RGB OLED screens. They are usually used to display single
|
-- to buy 32x32 RGB OLED screens. They are usually used to display single
|
||||||
|
|
Loading…
Reference in New Issue