X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=3145a63c1d09f269ed8efe31b061da8cbb33cfd5;hb=f278ec41e4c310da218563e7d443df32783e26e4;hp=a051d25039d2753dcb5b391eba6a10689490d014;hpb=8cc7c8b430370a14893d77311ddeb78a05b89cd2;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index a051d250..3145a63c 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -208,7 +208,7 @@ void screen_set_num_desktops(guint num) { guint i, old; gulong *viewport; - GSList *it; + GList *it; g_assert(num > 0); @@ -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(c, num - 1); + client_set_desktop(c, num - 1, FALSE); } dispatch_ob(Event_Ob_NumDesktops, num, old); @@ -424,7 +424,7 @@ void screen_install_colormap(Client *client, gboolean install) void screen_update_struts() { - GSList *it; + GList *it; guint i; g_free(strut); @@ -496,7 +496,7 @@ static void screen_update_area() */ if (!RECT_EQUAL(old_area, area[i])) { /* the area has changed, adjust all the maximized windows */ - GSList *it; + GList *it; for (it = client_list; it; it = it->next) { Client *c = it->data; if (i < screen_num_desktops) {