From: Dana Jansens Date: Sun, 23 Mar 2003 19:03:47 +0000 (+0000) Subject: oops X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=08a70966ee8fdec4204ab1ca9aed1371b1c828d0;p=chaz%2Fopenbox oops --- 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);