shim: Add basic button support

This commit is contained in:
Emmanuel Lepage Vallee 2016-08-11 19:55:46 -04:00
parent bb96f94845
commit 50b6c82091
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
return function(_, _, luacovpath)
-- Set the global shims
-- luacheck: globals awesome root tag screen client mouse drawin
-- luacheck: globals awesome root tag screen client mouse drawin button
awesome = require( "awesome" )
root = require( "root" )
tag = require( "tag" )
@ -9,6 +9,7 @@ return function(_, _, luacovpath)
client = require( "client" )
mouse = require( "mouse" )
drawin = require( "drawin" )
button = require( "button" )
-- Force luacheck to be silent about setting those as unused globals
assert(awesome and root and tag and screen and client and mouse)

View File

@ -0,0 +1,3 @@
return function() return {
connect_signal = function() end
} end