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
|
@ -117,7 +117,7 @@ end
|
||||||
-- @return The master window.
|
-- @return The master window.
|
||||||
function P.client.master(screen)
|
function P.client.master(screen)
|
||||||
local s = screen or mouse.screen_get()
|
local s = screen or mouse.screen_get()
|
||||||
return client.visible_get(screen)[1]
|
return client.visible_get(s)[1]
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Move/resize a client relative to current coordinates.
|
--- Move/resize a client relative to current coordinates.
|
||||||
|
|
Loading…
Reference in New Issue