From d8104e8ad4cdcff19e82ad0ebc91fe35c250b3d8 Mon Sep 17 00:00:00 2001 From: Byron Clark Date: Sat, 21 Jun 2008 10:16:54 +0200 Subject: [PATCH] awful: mouse.screen_get only uses passed screen Signed-off-by: Julien Danjou --- lib/awful.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful.lua b/lib/awful.lua index e6ad33271..a053dc2bd 100644 --- a/lib/awful.lua +++ b/lib/awful.lua @@ -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.