Merge pull request #2014 from Elv13/doc_tests_and_notif_p1_4

mouse: Fix a bad refactoring
This commit is contained in:
Emmanuel Lepage Vallée 2017-08-20 13:35:09 -04:00 committed by GitHub
commit a1911b5a23
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ end
-- @function awful.mouse.wibox.move
--@tparam wibox w The wibox to move, or none to use that under the pointer
function mouse.wibox.move(w)
w = w or mouse.wibox_under_pointer()
w = w or mouse.current_wibox
if not w then return end
if not w