From e47521ef515cf2e3271ae9b7f56afce038400ff7 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 11 Feb 2008 09:32:22 +0100 Subject: [PATCH] call grab with phys_screen --- layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout.c b/layout.c index 67f6efb1a..955960f0a 100644 --- a/layout.c +++ b/layout.c @@ -80,7 +80,7 @@ arrange(int screen) get_phys_screen(screen)), &rootwin, &childwin, &x, &y, &di, &di, &dui) && (rootwin == None || childwin == None || childwin == rootwin)) - window_root_grabbuttons(screen); + window_root_grabbuttons(get_phys_screen(screen)); /* reset status */ globalconf.screens[screen].need_arrange = False;