From 08a70966ee8fdec4204ab1ca9aed1371b1c828d0 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 23 Mar 2003 19:03:47 +0000 Subject: [PATCH] oops --- openbox/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/screen.c b/openbox/screen.c index 5c0f255f..928c1ef6 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -244,7 +244,7 @@ void screen_set_num_desktops(guint num) for (it = client_list; it != NULL; it = it->next) { Client *c = it->data; if (c->desktop >= num) - client_set_desktop(num - 1); + client_set_desktop(c, num - 1); } dispatch_ob(Event_Ob_NumDesktops, num, old); -- 2.39.2