tests: Mock the keyboard layout API enough to stop getting errors.
It IS NOT correct, the point is to be able to load the keyboard widget with errors.
This commit is contained in:
parent
f1245f083c
commit
bf6ab0ba4c
|
@ -46,6 +46,14 @@ awesome.startup = true
|
||||||
function awesome.register_xproperty()
|
function awesome.register_xproperty()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function awesome.xkb_get_group_names()
|
||||||
|
return "pc+us+inet(evdev)"
|
||||||
|
end
|
||||||
|
|
||||||
|
function awesome.xkb_get_layout_group()
|
||||||
|
return 0
|
||||||
|
end
|
||||||
|
|
||||||
awesome.load_image = lgi.cairo.ImageSurface.create_from_png
|
awesome.load_image = lgi.cairo.ImageSurface.create_from_png
|
||||||
|
|
||||||
function awesome.pixbuf_to_surface(_, path)
|
function awesome.pixbuf_to_surface(_, path)
|
||||||
|
|
Loading…
Reference in New Issue