mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
awful: mouse.screen_get only uses passed screen
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
482679548b
commit
d8104e8ad4
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ end
|
|||
-- @return The master window.
|
||||
function P.client.master(screen)
|
||||
local s = screen or mouse.screen_get()
|
||||
return client.visible_get(screen)[1]
|
||||
return client.visible_get(s)[1]
|
||||
end
|
||||
|
||||
--- Move/resize a client relative to current coordinates.
|
||||
|
|
Loading…
Reference in a new issue