From dc6564619fdc9940a3d9db8528483c27f6bcb894 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 31 Oct 2007 08:10:51 +0100 Subject: Try to fix the popup only showing up on monitor 0. screen_find_monitor() should perhaps contain that big hunk of logic, I don't know if anything will break now that it returns screen_num_monitors sometimes. We'll see! --- openbox/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/screen.c') diff --git a/openbox/screen.c b/openbox/screen.c index 9ebeffee..a8da15c0 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -1510,7 +1510,7 @@ Rect* screen_area(guint desktop, guint head, Rect *search) guint screen_find_monitor(Rect *search) { guint i; - guint most = 0; + guint most = screen_num_monitors; guint mostv = 0; for (i = 0; i < screen_num_monitors; ++i) { -- cgit v1.2.3