mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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
1 changed files with 8 additions and 0 deletions
|
@ -46,6 +46,14 @@ awesome.startup = true
|
|||
function awesome.register_xproperty()
|
||||
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
|
||||
|
||||
function awesome.pixbuf_to_surface(_, path)
|
||||
|
|
Loading…
Reference in a new issue